Skip to content

Commit c13e407

Browse files
npm install webpack@4, fix SolidOS#356
1 parent 39e1c69 commit c13e407

3 files changed

Lines changed: 88 additions & 156 deletions

File tree

package-lock.json

Lines changed: 85 additions & 146 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
@@ -9,7 +9,7 @@
99
"dist"
1010
],
1111
"scripts": {
12-
"build": "npm run clean && npm run build-version && npm run build-lib && npm run build-types && npm run build-webpack",
12+
"build": "npm run clean && npm run build-version && npm run build-lib && npm run build-types && npm run build-webpack && npm run build-storybook",
1313
"build-lib": "babel src -d lib --source-maps --extensions \".ts,.js\"",
1414
"build-types": "tsc --emitDeclarationOnly",
1515
"build-version": "sh ./timestamp.sh > src/versionInfo.ts && eslint \"src/versionInfo.ts\" --fix",
@@ -98,7 +98,7 @@
9898
"ts-jest": "^26.4.2",
9999
"typedoc": "^0.19.2",
100100
"typescript": "^4.0.3",
101-
"webpack": "^5.2.0",
101+
"webpack": "^4.44.2",
102102
"webpack-cli": "^4.1.0"
103103
},
104104
"husky": {

webpack.config.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,5 @@ module.exports = [{
2121
devServer: {
2222
contentBase: './dist'
2323
},
24-
devtool: 'source-map',
25-
resolve: {
26-
fallback: {
27-
"crypto": require.resolve("crypto-browserify"),
28-
"path": require.resolve("path-browserify"),
29-
"stream": require.resolve("stream-browserify")
30-
}
31-
}
24+
devtool: 'source-map'
3225
}]

0 commit comments

Comments
 (0)