Comments (7)
I'm not sure if it's a problem with upgrading vite to 3.0.0
from vite-plugin-stylelint.
I have updated 5 projects to vite 3 but haven't seen such error. I need some time to research.
from vite-plugin-stylelint.
Removing type: "module"
in package.json should be a solution.
from vite-plugin-stylelint.
This package is bundled by tsup (esbuild underhood) and targets at node12. Please track evanw/esbuild#2067, evanw/esbuild#1921 and evanw/esbuild#2111.
Maybe change to unbuild in the future if necessary, since official plugins have changed to unbuild already.
from vite-plugin-stylelint.
I understand, thank you for your support
from vite-plugin-stylelint.
Please change to unbuild!!!
from vite-plugin-stylelint.
type: "module"
support should be fixed in v3.0.3. Please have a try.
I don't have much time to change to unbuild recently. PR welcome.
from vite-plugin-stylelint.
Related Issues (20)
- No files matching the pattern "/__uno.css" were found. HOT 6
- Missing typescript definition for `fix` option HOT 3
- Vite 3.0.0 support HOT 3
- The plugin doesn't report the source of synax error HOT 9
- Wrong `StylelintPluginOptions` type HOT 3
- No filename or line number? HOT 7
- V4 roadmap
- SyntaxError: Named export 'formatters' not found HOT 5
- Lint some files twice
- nuxt 3 vs vite-plugin-stylelint 4.0.0 HOT 3
- Error: Dynamic require of "tty" is not supported HOT 9
- Switch to rollup and named export HOT 3
- Better emit errors / warings handling
- Doesnt seem to work after buildStart HOT 2
- Update prettier to v3 HOT 1
- Passing `context` to `lintFiles` when enable `chokidar` breaks the build
- Update package for rollup v4 support HOT 2
- Vite 5 semver in `peerDependencies` HOT 1
- `output` is deprecated. Use `report` or `code` instead. HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vite-plugin-stylelint.