1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 01:36:22 +00:00
This commit is contained in:
Rokt33r
2015-12-30 14:19:01 +09:00
parent f80a1a5f6b
commit f9d41de8f1
3 changed files with 13 additions and 32 deletions

View File

@@ -1,8 +1,6 @@
const skeleton = require('./webpack-skeleton')
const webpack = require('webpack')
const path = require('path')
const JsonpTemplatePlugin = webpack.JsonpTemplatePlugin
const FunctionModulePlugin = require('webpack/lib/FunctionModulePlugin')
var config = Object.assign({}, skeleton, {
module: {
@@ -30,12 +28,5 @@ var config = Object.assign({}, skeleton, {
devtool: 'eval-source-map'
})
config.target = function renderer (compiler) {
compiler.apply(
new JsonpTemplatePlugin(config.output),
new FunctionModulePlugin(config.output)
)
}
module.exports = config