react-webpack-template
Advanced tools
Comparing version 2.0.1-2 to 2.0.1-3
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
/** | ||
@@ -79,3 +81,3 @@ * Webpack configuration base class | ||
inline: true, | ||
port: 8080 | ||
port: 8000 | ||
}, | ||
@@ -107,5 +109,13 @@ entry: './index.js', | ||
{ | ||
test: /\.(sass|scss)$/, | ||
test: /\.cssmodule\.(sass|scss)$/, | ||
loaders: [ | ||
'style', | ||
'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]', | ||
'sass' | ||
] | ||
}, | ||
{ | ||
test: /^.((?!cssmodule).)*\.(sass|scss)$/, | ||
loaders: [ | ||
'style', | ||
'css', | ||
@@ -116,5 +126,13 @@ 'sass' | ||
{ | ||
test: /\.less$/, | ||
test: /\.cssmodule\.less$/, | ||
loaders: [ | ||
'style', | ||
'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]', | ||
'less' | ||
] | ||
}, | ||
{ | ||
test: /^.((?!cssmodule).)*\.less$/, | ||
loaders: [ | ||
'style', | ||
'css', | ||
@@ -125,5 +143,13 @@ 'less' | ||
{ | ||
test: /\.styl$/, | ||
test: /\.cssmodule\.styl$/, | ||
loaders: [ | ||
'style', | ||
'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]', | ||
'stylus' | ||
] | ||
}, | ||
{ | ||
test: /^.((?!cssmodule).)*\.styl$/, | ||
loaders: [ | ||
'style', | ||
'css', | ||
@@ -130,0 +156,0 @@ 'stylus' |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
/** | ||
@@ -14,3 +16,3 @@ * Default dev server configuration. | ||
entry: [ | ||
'webpack-dev-server/client?http://0.0.0.0:8080/', | ||
'webpack-dev-server/client?http://0.0.0.0:8000/', | ||
'webpack/hot/only-dev-server', | ||
@@ -17,0 +19,0 @@ './index.js' |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
/** | ||
@@ -2,0 +4,0 @@ * Dist configuration. Used to build the |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
const dev = require('./Dev'); | ||
@@ -2,0 +4,0 @@ const dist = require('./Dist'); |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
/** | ||
@@ -23,3 +25,3 @@ * Default test configuration. | ||
test: /\.(js|jsx)$/, | ||
loader: 'isparta-instrumenter-loader', | ||
loader: 'isparta-loader', | ||
include: [ | ||
@@ -32,3 +34,3 @@ this.srcPathAbsolute | ||
{ | ||
test: /\.css$/, | ||
test: /\.cssmodule\.css$/, | ||
loaders: [ | ||
@@ -40,35 +42,7 @@ 'style', | ||
{ | ||
test: /\.sass$/, | ||
loaders: [ | ||
'style', | ||
'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]', | ||
'sass' | ||
] | ||
test: /^.((?!cssmodule).)*\.css$/, | ||
loader: 'null-loader' | ||
}, | ||
{ | ||
test: /\.scss$/, | ||
loaders: [ | ||
'style', | ||
'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]', | ||
'sass' | ||
] | ||
}, | ||
{ | ||
test: /\.less$/, | ||
loaders: [ | ||
'style', | ||
'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]', | ||
'less' | ||
] | ||
}, | ||
{ | ||
test: /\.styl$/, | ||
loaders: [ | ||
'style', | ||
'css?modules&importLoaders=1&localIdentName=[name]-[local]-[hash:base64:5]', | ||
'stylus' | ||
] | ||
}, | ||
{ | ||
test: /\.(png|jpg|gif|mp4|ogg|svg|woff|woff2)$/, | ||
test: /\.(sass|scss|less|styl|png|jpg|gif|mp4|ogg|svg|woff|woff2)$/, | ||
loader: 'null-loader' | ||
@@ -75,0 +49,0 @@ }, |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
const webpackCfg = require('./webpack.config')('test'); | ||
@@ -2,0 +4,0 @@ |
{ | ||
"name": "react-webpack-template", | ||
"version": "2.0.1-2", | ||
"version": "2.0.1-3", | ||
"description": "React Webpack Starter Kit", | ||
@@ -51,3 +51,3 @@ "main": "src/index.js", | ||
"chai": "^3.5.0", | ||
"copyfiles": "^0.2.1", | ||
"copyfiles": "^1.0.0", | ||
"css-loader": "^0.23.1", | ||
@@ -61,5 +61,5 @@ "enzyme": "^2.2.0", | ||
"eslint-plugin-react": "^5.0.0", | ||
"file-loader": "^0.8.5", | ||
"isparta-instrumenter-loader": "^1.0.0", | ||
"karma": "^0.13.22", | ||
"file-loader": "^0.9.0", | ||
"isparta-loader": "^2.0.0", | ||
"karma": "^1.0.0", | ||
"karma-chai": "^0.1.0", | ||
@@ -66,0 +66,0 @@ "karma-coverage": "^1.0.0", |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
// Add support for Promise objects via polyfills | ||
@@ -2,0 +4,0 @@ import 'babel-polyfill'; |
@@ -0,1 +1,3 @@ | ||
'use strict'; | ||
/* eslint no-console: "off" */ | ||
@@ -2,0 +4,0 @@ const webpackConfigs = require('./conf/webpack'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
43408
544
1