updated plugin AudioIgniter version 1.9.0

This commit is contained in:
2022-08-19 16:15:57 +00:00
committed by Gitium
parent b49569de47
commit 8af91729f1
43 changed files with 6804 additions and 6000 deletions

View File

@ -28,7 +28,9 @@ const common = {
}),
],
devServer: {
contentBase: path.resolve('assets'),
static: {
directory: path.resolve('assets'),
},
},
resolve: {
extensions: ['.js', '.jsx'],
@ -37,7 +39,8 @@ const common = {
rules: [
{
test: /\.jsx?$/,
use: ['babel-loader?cacheDirectory'],
exclude: /node_modules/,
loader: 'babel-loader',
},
],
},
@ -51,6 +54,7 @@ switch (TARGET) {
config = merge(
common,
{
mode: 'production',
resolve: {
modules: [path.resolve(__dirname), 'node_modules'],
extensions: ['.js', '.jsx'],
@ -66,6 +70,7 @@ switch (TARGET) {
config = merge(
common,
{
mode: 'development',
devtool: 'eval-source-map',
},
parts.setupSass(PATHS.style),