mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Fixed lint for webpack config
no issue
This commit is contained in:
parent
f529959b78
commit
89a1cab4c1
1 changed files with 18 additions and 18 deletions
|
@ -1,20 +1,20 @@
|
|||
const path = require("path")
|
||||
const glob = require("glob")
|
||||
const path = require('path');
|
||||
const glob = require('glob');
|
||||
|
||||
module.exports = {
|
||||
entry: {
|
||||
"bundle.js": glob.sync("build/static/?(js|css)/main.*.?(js|css)").map(f => path.resolve(__dirname, f)),
|
||||
},
|
||||
output: {
|
||||
filename: "build/static/js/bundle.min.js",
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.css$/,
|
||||
use: ["style-loader", "css-loader"],
|
||||
},
|
||||
],
|
||||
},
|
||||
plugins: [],
|
||||
}
|
||||
entry: {
|
||||
'bundle.js': glob.sync('build/static/?(js|css)/main.*.?(js|css)').map(f => path.resolve(__dirname, f))
|
||||
},
|
||||
output: {
|
||||
filename: 'build/static/js/bundle.min.js'
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.css$/,
|
||||
use: ['style-loader', 'css-loader']
|
||||
}
|
||||
]
|
||||
},
|
||||
plugins: []
|
||||
};
|
Loading…
Add table
Reference in a new issue