Browse Source

Make sure we merge webpack rules properly

Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v17.0.0beta1
Julius Härtl 4 years ago
parent
commit
4d3c06af6d
No account linked to committer's email address
2 changed files with 5 additions and 4 deletions
  1. 3
    2
      apps/workflowengine/webpack.js
  2. 2
    2
      webpack.common.js

+ 3
- 2
apps/workflowengine/webpack.js View File

@@ -10,9 +10,10 @@ module.exports = {
module: {
rules: [
{
test: /\.handlebars$/,
test: /\.handlebars/,
loader: "handlebars-loader",
options: {
query: {
extensions: '.handlebars',
helperDirs: path.join(__dirname, 'src/hbs_helpers'),
}
}

+ 2
- 2
webpack.common.js View File

@@ -32,7 +32,7 @@ module.exports = []
workflowengine
)
.map(config =>
merge(config, {
merge.smart({
module: {
rules: [
{
@@ -81,5 +81,5 @@ module.exports = []
},
extensions: ['*', '.js', '.vue', '.json']
}
})
}, config)
);

Loading…
Cancel
Save