Comparing version 0.4.7 to 0.4.8
@@ -177,3 +177,3 @@ "use strict"; | ||
} | ||
index.push('./src/server/index.js'); | ||
index.push(builder.entry || './src/server/index.js'); | ||
config = __assign({}, config, { entry: { | ||
@@ -205,3 +205,3 @@ index: index, | ||
index: (spin.dev ? ["webpack-hot-middleware/client"] : []).concat([ | ||
'./src/client/index.js', | ||
builder.entry || './src/client/index.js', | ||
]), | ||
@@ -222,3 +222,3 @@ }, output: { | ||
index: [ | ||
'./src/mobile/index.js', | ||
builder.entry || './src/mobile/index.js', | ||
], | ||
@@ -225,0 +225,0 @@ }, output: { |
{ | ||
"name": "spinjs", | ||
"version": "0.4.7", | ||
"version": "0.4.8", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "clean": "rm -rf ./lib", |
@@ -102,2 +102,3 @@ <p align="center"><a href="#"><img width="150" src="https://rawgit.com/sysgears/spin.js/master/logo.svg"></a></p> | ||
|stack|an array or semicolon separated string with list of stack features for the builder| | ||
|entry|path to entry source file for this builder (`src/{platform}/index.{js,jsx,ts,tsx}` by default)| | ||
|enabled|whether this builder is enabled, `true` by default| | ||
@@ -104,0 +105,0 @@ |roles|what are the roles of the builder, allowed values: `build`, `watch`, `test`, `["build", "watch"]` by default| |
@@ -211,3 +211,3 @@ import * as path from 'path'; | ||
} | ||
index.push('./src/server/index.js'); | ||
index.push(builder.entry || './src/server/index.js'); | ||
@@ -245,3 +245,3 @@ config = { | ||
index: (spin.dev ? [`webpack-hot-middleware/client`] : []).concat([ | ||
'./src/client/index.js', | ||
builder.entry || './src/client/index.js', | ||
]), | ||
@@ -270,3 +270,3 @@ }, | ||
index: [ | ||
'./src/mobile/index.js', | ||
builder.entry || './src/mobile/index.js', | ||
], | ||
@@ -273,0 +273,0 @@ }, |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
295711
147