mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-01-12 22:51:09 +08:00
18 lines
403 B
JavaScript
18 lines
403 B
JavaScript
var assign = require('object-assign')
|
|
var base = require('./webpack.config.base')
|
|
var constants = require('./constants')
|
|
var path = require('path')
|
|
|
|
module.exports = assign({}, base, {
|
|
devServer: {
|
|
contentBase: constants.SRC_DIRECTORY
|
|
},
|
|
entry: {
|
|
example: path.join(constants.SRC_DIRECTORY, 'example')
|
|
},
|
|
output: {
|
|
filename: 'example.js',
|
|
path: constants.DIST_DIRECTORY
|
|
}
|
|
})
|