Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 3490fba

Browse files
committedOct 8, 2018
upgrade plugins
1 parent c89b312 commit 3490fba

File tree

3 files changed

+959
-16
lines changed

3 files changed

+959
-16
lines changed
 

‎index.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,7 @@ module.exports = (api, projectOptions) => {
1616
const conf = config.toConfig()
1717
config
1818
.plugin('post-compile')
19-
.use(PostCompilePlugin, [{
20-
config: {
21-
module: {
22-
rules: [...conf.module.rules]
23-
}
24-
}
25-
}])
19+
.use(PostCompilePlugin)
2620
})
2721
} else {
2822
api.chainWebpack(config => {

‎package-lock.json

Lines changed: 956 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.5",
44
"main": "index.js",
55
"dependencies": {
6-
"webpack-post-compile-plugin": "^0.5.1",
7-
"webpack-transform-modules-plugin": "^0.3.5"
6+
"webpack-post-compile-plugin": "^1.0.0",
7+
"webpack-transform-modules-plugin": "^0.4.0"
88
}
99
}

0 commit comments

Comments
 (0)
Please sign in to comment.