File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ export interface LivePreview {
73
73
}
74
74
75
75
export interface LivePreviewQuery {
76
- hash : string
76
+ live_preview : string
77
77
content_type_uid : string
78
78
}
79
79
Original file line number Diff line number Diff line change 20
20
"build:web" : " webpack --config webpack/webpack.web.js" ,
21
21
"build:react-native" : " webpack --config webpack/webpack.react-native.js" ,
22
22
"build:native-script" : " webpack --config webpack/webpack.nativescript.js" ,
23
- "build" : " NODE_ENV=production && npm run build:node && npm run build:web && npm run build:react-native && npm run build:native-script" ,
23
+ "build" : " npm run build:node && npm run build:web && npm run build:react-native && npm run build:native-script" ,
24
24
"generate-docs" : " node_modules/.bin/jsdoc --configure docs-config.json --verbose" ,
25
25
"prepare" : " npm run build" ,
26
26
"pretest" : " npm run build"
Original file line number Diff line number Diff line change @@ -5,11 +5,9 @@ const { CleanWebpackPlugin } = require('clean-webpack-plugin')
5
5
6
6
const Package = require ( './../package.json' ) ;
7
7
8
- const PROD = process . env . NODE_ENV === 'production'
9
-
10
8
module . exports = function ( options ) {
11
9
return {
12
- mode : PROD ? 'production' : 'development ',
10
+ mode : 'production' ,
13
11
entry : {
14
12
contentstack : "./src/core/contentstack" ,
15
13
} ,
You can’t perform that action at this time.
0 commit comments