Comments (4)
Are you passing an empty generator config to a rule item?
from rspack.
This should be fixed by https://github.com/web-infra-dev/rspack/pull/6997/files#diff-5f5bb1aeb2a977ff30c5ab822c79f09b76476c503462939c69beb9e4d7552123, which will be released in 1.0.0-alpha.1
from rspack.
Feel free to re-open if it still exists in v1.0.0-alpha.1
from rspack.
It seems that it just avoids using javascript/auto
as the default value. When I manually set the type to javascript/auto
in rspack v1.0.0-alpha.3, I still encounter this error.
![image](https://private-user-images.githubusercontent.com/22373761/348657961-933c2396-ac40-4a78-99d1-ac96773290a2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1Nzg1NTEsIm5iZiI6MTcyNTU3ODI1MSwicGF0aCI6Ii8yMjM3Mzc2MS8zNDg2NTc5NjEtOTMzYzIzOTYtYWM0MC00YTc4LTk5ZDEtYWM5Njc3MzI5MGEyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA1VDIzMTczMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTlkYzNiNzhjODhjMTVlN2ZiMjkxMzI3YmEyMTRmYzRiYTZhNmViYTllN2VhOTRhMGRhNjUyMzgyY2Q4N2QxMDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.b900rL4_4RwIaxbuEI38B1Tgq1DOPHvp9-DCVMVqgAU)
According to the introduction of webpack, when the type is javascript/auto
, it seems that it should be ignored instead of throw an error. see
![image](https://private-user-images.githubusercontent.com/22373761/348659151-d33f03a9-2e47-4bd0-99ee-c37ce89dd768.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU1Nzg1NTEsIm5iZiI6MTcyNTU3ODI1MSwicGF0aCI6Ii8yMjM3Mzc2MS8zNDg2NTkxNTEtZDMzZjAzYTktMmU0Ny00YmQwLTk5ZWUtYzM3Y2U4OWRkNzY4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTA1VDIzMTczMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcxY2I0ZWU2YWE2ZmRlMmIzMTRlODhmZTIyNDllY2ZjZDA1MDE3MjJkZTk0YWMwMTdmM2VlNGJhNDUxOTdmZDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.k0CEHzn2-O4iVte-zHnF-5joxpK_uFnHxjARF4EwUAo)
from rspack.
Related Issues (20)
- [Feature]: Add loading style to lazy compilation to improve user experience
- [Feature]: Support for `{}` glob patterns in CopyRspackPlugin
- [Feature]: Angular migration guide HOT 1
- [Bug]: runtime's `source.source()` does not return a string HOT 7
- [Bug]: dev server cannot start
- [Bug]: Regression from rspack v1.0.0-alpha.5 to v1.0.0-beta.0 HOT 13
- [Bug]: Rspack cannot be used with unplugin-vue-router HOT 3
- [Bug]: lightningcss color internal error HOT 3
- [Bug]: resolve.alias.set('core-js','path') in rspack 1.0 throw error HOT 3
- [Bug]: Panic occurred at runtime
- [Feature]: Standardize the type of the `request` property in the dependencies HOT 3
- [Bug]: css syntax lowering functionality fails when builtin:lightningcss-loader + css-loader + postcss-loader are used together HOT 1
- [Tracking]: unified path normalize behavior HOT 1
- [Bug]: Upstream ESLint dependency conflict HOT 3
- [Bug]: Strange HMR bug after removing `<style>` in Vue SFC HOT 1
- [Bug]: esm default import loss ts type
- [Bug]: chain in lodash-es does not work after bundled
- Can I control the configuration of the second loader via the first loader ? HOT 2
- [Bug]: about lightningcss minimizer, which could cause the difference about dev & prod env HOT 3
- [Bug]: Rspack not compatible for swc_core v0.95.0 HOT 1
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 rspack.