mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Merge pull request #213 from javascript-obfuscator/webpack-4
Switching on webpack@4
This commit is contained in:
Vendored
+1
-24
File diff suppressed because one or more lines are too long
+4
-3
@@ -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
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
$(yarn bin)/webpack --watch
|
||||
$(yarn bin)/webpack --mode development --watch
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
$(yarn bin)/webpack -p
|
||||
$(yarn bin)/webpack --mode production
|
||||
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user