Fix category action test
This was the same test as before -.-
This commit is contained in:
parent
73ae0271e4
commit
ae942f5ef9
204 changed files with 506 additions and 1423 deletions
|
|
@ -7,14 +7,14 @@ export default {
|
|||
main: ['./src/newsreader/js/index.js', './src/newsreader/scss/index.scss'],
|
||||
},
|
||||
output: {
|
||||
path: resolve(__dirname, 'src', 'newsreader', 'static', 'js'),
|
||||
filename: '[name].bundle.js',
|
||||
path: resolve(__dirname, 'src', 'newsreader', 'static'),
|
||||
filename: 'js/[name].bundle.js',
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(js|jsx)$/,
|
||||
exclude: /(node_modules|bower_components)/,
|
||||
exclude: /node_modules/,
|
||||
use: { loader: 'babel-loader' },
|
||||
},
|
||||
{
|
||||
|
|
@ -25,9 +25,11 @@ export default {
|
|||
},
|
||||
plugins: [
|
||||
new MiniCssExtractPlugin({
|
||||
filename: './src/newsreader/static/css/[name].css',
|
||||
filename: 'css/main.css',
|
||||
allChunks: true,
|
||||
}),
|
||||
new CleanWebpackPlugin(),
|
||||
new CleanWebpackPlugin({
|
||||
cleanOnceBeforeBuildPatterns: ['**/*', '!favicon.png'],
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue