Merge pull request #213 from javascript-obfuscator/webpack-4

Switching on webpack@4
This commit is contained in:
Timofey Kachalov
2018-03-07 23:22:37 +03:00
committed by GitHub
6 changed files with 2219 additions and 247 deletions
+1 -24
View File
File diff suppressed because one or more lines are too long
+4 -3
View File
@@ -58,13 +58,13 @@
"@types/sinon": "4.3.0",
"@types/string-template": "1.0.2",
"@types/webpack-env": "1.13.5",
"awesome-typescript-loader": "4.0.0-1",
"awesome-typescript-loader": "5.0.0-0",
"babel-cli": "7.0.0-beta.3",
"babel-loader": "8.0.0-beta.2",
"chai": "4.1.2",
"coveralls": "3.0.0",
"istanbul": "1.1.0-alpha.1",
"mocha": "5.0.1",
"mocha": "5.0.4",
"pre-commit": "1.2.2",
"rimraf": "2.6.2",
"sinon": "4.4.2",
@@ -75,7 +75,8 @@
"tslint-language-service": "0.9.8",
"tslint-webpack-plugin": "1.2.0",
"typescript": "2.7.2",
"webpack": "3.11.0",
"webpack": "4.1.1",
"webpack-cli": "2.0.10",
"webpack-node-externals": "1.6.0"
},
"repository": {
+1 -1
View File
@@ -1,3 +1,3 @@
#!/bin/bash
$(yarn bin)/webpack --watch
$(yarn bin)/webpack --mode development --watch
+1 -1
View File
@@ -1,3 +1,3 @@
#!/bin/bash
$(yarn bin)/webpack -p
$(yarn bin)/webpack --mode production
-3
View File
@@ -39,7 +39,6 @@ module.exports = {
entry: {
'index': './index.ts'
},
cache: true,
devtool: 'source-map',
target: 'node',
externals: [nodeExternals()],
@@ -76,8 +75,6 @@ module.exports = {
})
],
output: {
path: __dirname + '/dist',
filename: '[name].js',
libraryTarget: "commonjs2",
library: "JavaScriptObfuscator"
},
+2212 -215
View File
File diff suppressed because it is too large Load Diff