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:
50
50
{
51
51
"compilerOptions": {
52
52
"target": "es5",
53
- "module": "es6 ",
53
+ "module": "commonjs ",
54
54
"sourceMap": true
55
55
}
56
56
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " gulp-webpack-typescript-pipeline" ,
3
- "version" : " 10.0.0 " ,
3
+ "version" : " 10.0.3 " ,
4
4
"description" : " easy transpiling and bundling of typescript back to es5" ,
5
5
"main" : " index.js" ,
6
6
"engines" : {
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ module.exports = (options) => {
69
69
filename : '[name].js'
70
70
} ,
71
71
module : {
72
- loaders : [
72
+ rules : [
73
73
{
74
74
test : / \. t s ( x ? ) $ / ,
75
75
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');
3
3
const commonConfig = require ( './webpack.config' ) ;
4
4
5
5
module . exports = ( options ) => {
6
- const releaseConfig = Object . create ( commonConfig ( options ) ) ;
6
+ const releaseConfig = Object . assign ( { } , commonConfig ( options ) ) ;
7
7
releaseConfig . devtool = 'sourcemap' ;
8
8
releaseConfig . mode = 'production' ;
9
9
You can’t perform that action at this time.
0 commit comments