This repository was archived by the owner on Jul 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ given a `tsconfig.json` in the project root folder that contains:
5050{
5151 "compilerOptions": {
5252 "target": "es5",
53- "module": "es6 ",
53+ "module": "commonjs ",
5454 "sourceMap": true
5555 }
5656}
Original file line number Diff line number Diff line change 11{
22 "name" : " gulp-webpack-typescript-pipeline" ,
3- "version" : " 10.0.0 " ,
3+ "version" : " 10.0.3 " ,
44 "description" : " easy transpiling and bundling of typescript back to es5" ,
55 "main" : " index.js" ,
66 "engines" : {
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ module.exports = (options) => {
6969 filename : '[name].js'
7070 } ,
7171 module : {
72- loaders : [
72+ rules : [
7373 {
7474 test : / \. t s ( x ? ) $ / ,
7575 exclude : / n o d e _ m o d u l e s / ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ const path = require('path');
33const commonConfig = require ( './webpack.config' ) ;
44
55module . exports = ( options ) => {
6- const releaseConfig = Object . create ( commonConfig ( options ) ) ;
6+ const releaseConfig = Object . assign ( { } , commonConfig ( options ) ) ;
77 releaseConfig . devtool = 'sourcemap' ;
88 releaseConfig . mode = 'production' ;
99
You can’t perform that action at this time.
0 commit comments