mirror of
https://github.com/maputnik/editor.git
synced 2026-07-14 18:07:27 +00:00
Fix CSS loading for production
This commit is contained in:
@@ -7,14 +7,6 @@ var HtmlWebpackPlugin = require('html-webpack-plugin');
|
||||
const HOST = process.env.HOST || "127.0.0.1";
|
||||
const PORT = process.env.PORT || "8888";
|
||||
|
||||
// global css
|
||||
loaders.push({
|
||||
test: /[\/\\](node_modules|global)[\/\\].*\.css$/,
|
||||
loaders: [
|
||||
'style?sourceMap',
|
||||
'css'
|
||||
]
|
||||
});
|
||||
// local scss modules
|
||||
loaders.push({
|
||||
test: /[\/\\]src[\/\\].*\.scss/,
|
||||
@@ -24,14 +16,6 @@ loaders.push({
|
||||
'sass'
|
||||
]
|
||||
});
|
||||
// local css modules
|
||||
loaders.push({
|
||||
test: /[\/\\]src[\/\\].*\.css/,
|
||||
loaders: [
|
||||
'style?sourceMap',
|
||||
'css'
|
||||
]
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
target: 'web',
|
||||
|
||||
Reference in New Issue
Block a user