mirror of
https://github.com/valitydev/checkout.git
synced 2024-11-06 18:45:24 +00:00
16 lines
447 B
JavaScript
16 lines
447 B
JavaScript
const webpack = require('webpack');
|
|
const path = require('path');
|
|
const WriteFilePlugin = require('write-file-webpack-plugin');
|
|
const merge = require('webpack-merge');
|
|
const commonConfig = require('./webpack.config.common');
|
|
|
|
module.exports = merge(commonConfig, {
|
|
devtool: 'source-map',
|
|
plugins: [
|
|
new WriteFilePlugin()
|
|
],
|
|
devServer: {
|
|
contentBase: path.join(__dirname, '../dist'),
|
|
compress: true
|
|
}
|
|
}); |