Skip to content

Commit

Permalink
build option を修正する
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki Ito committed Mar 14, 2017
1 parent 7bde447 commit 09f737b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions webpack.config.js
Expand Up @@ -3,7 +3,6 @@
const path = require('path');
const webpack = require('webpack');
const pkg = require('./package.json');
const env = process.env.NODE_ENV || 'development';
const banner = pkg.name + '\n' + pkg.description +
'\n@version: ' + pkg.version + '\n@author: ' + pkg.author + '\n@license: ' + pkg.license;

Expand All @@ -13,10 +12,12 @@ module.exports = {
context: path.resolve(__dirname, './src'),
entry: {
sora: './sora.js',
"sora.min": './sora.js',
'sora.min': './sora.js',
},
output: {
library: "Sora",
library: 'Sora',
libraryTarget: 'umd',
umdNamedDefine: true,
path: path.resolve(__dirname, './dist'),
filename: '[name].js',
},
Expand Down

0 comments on commit 09f737b

Please sign in to comment.