Skip to content

Commit

Permalink
PRD-27: add work-around for webpack issue serverless-heaven/serverles…
Browse files Browse the repository at this point in the history
  • Loading branch information
lochnesh authored Nov 13, 2020
1 parent 906fe9f commit 1137df0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10.15
12.19
5 changes: 1 addition & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"extends": "./node_modules/skripts/base-tsconfig.json",
"include": ["src"],
"compilerOptions": {
"target": "es2018"
}
"include": ["src"]
}
11 changes: 8 additions & 3 deletions webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
module.exports = require("skripts/config").webpack(
require("serverless-webpack")
)
const webpack = require("skripts/config").webpack(require("serverless-webpack"))

module.exports = {
...webpack,
optimization: {
concatenateModules: false,
},
}

0 comments on commit 1137df0

Please sign in to comment.