-
-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: disable source map using option #195
Comments
@evilebottnawi Yep, right, could you check the #177, I intend to do that for v2.0.0 since it is technically a semver major, but wainting for other related loaders I need to update first |
@michael-ciniawsky can i help you with this? |
@evilebottnawi Yep 😛 test if disabling sourcemaps works correctly Sourcemap Implementation is here v2.0.0 should work without - const module = `export default ${JSON.stringify(css)}`
+ const module = `module.exports = ${JSON.stringify(css)}` webpack.config.js const config = {
module: {
rules: [
{
test: /\.css$/,
use: [ 'style-loader', 'postcss-loader' ]
}
]
}
} Otherwise by using |
|
/cc @michael-ciniawsky let's do this, add options |
/cc @michael-ciniawsky ping 😄 |
Fixed by #191 |
Is it possible to disable generation source map generation using options? This will speed up compilation on watch when i disable source map in webpack. It would be nice if this option was taken from the webpack config by default. If your accept i can do PR.
The text was updated successfully, but these errors were encountered: