mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-01 18:15:13 +00:00
Move config files
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
|
var assign = require('object-assign')
|
||||||
|
var path = require('path')
|
||||||
var webpackConfig = require('./webpack-base.config.js')
|
var webpackConfig = require('./webpack-base.config.js')
|
||||||
// entry is determined by karma config 'files' array
|
|
||||||
webpackConfig.devtool = 'inline-source-map'
|
|
||||||
webpackConfig.entry = {}
|
|
||||||
|
|
||||||
module.exports = function (config) {
|
module.exports = function (config) {
|
||||||
config.set({
|
config.set({
|
||||||
|
basePath: path.resolve(__dirname, '..'),
|
||||||
browsers: [ 'Chrome' ],
|
browsers: [ 'Chrome' ],
|
||||||
browserNoActivityTimeout: 60000,
|
browserNoActivityTimeout: 60000,
|
||||||
client: {
|
client: {
|
||||||
@@ -31,7 +31,7 @@ module.exports = function (config) {
|
|||||||
},
|
},
|
||||||
reporters: [ 'dots' ],
|
reporters: [ 'dots' ],
|
||||||
singleRun: true,
|
singleRun: true,
|
||||||
webpack: webpackConfig,
|
webpack: assign({}, webpackConfig, { devtool: 'inline' }),
|
||||||
webpackMiddleware: {
|
webpackMiddleware: {
|
||||||
stats: {
|
stats: {
|
||||||
assetsSort: 'name',
|
assetsSort: 'name',
|
||||||
Reference in New Issue
Block a user