diff options
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/smartquotes/webpack.config.js')
-rw-r--r-- | bin/wiki/ImportarDesdeURL/node_modules/smartquotes/webpack.config.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/smartquotes/webpack.config.js b/bin/wiki/ImportarDesdeURL/node_modules/smartquotes/webpack.config.js new file mode 100644 index 00000000..292c7ae2 --- /dev/null +++ b/bin/wiki/ImportarDesdeURL/node_modules/smartquotes/webpack.config.js @@ -0,0 +1,28 @@ +const path = require('path'), + MinifyPlugin = require('babel-minify-webpack-plugin'); + +module.exports = { + entry: './lib/index.js', + plugins: [ + new MinifyPlugin() + ], + output: { + filename: 'smartquotes.js', + path: path.resolve(__dirname, 'dist'), + libraryTarget: 'umd', + library: 'smartquotes' + }, + devtool: 'source-map', + module: { + loaders: [ + { + test: /\.js$/, + loader: 'babel-loader', + exclude: [/node_modules/], + options: { + presets: ['es2015'] + } + } + ] + } +}; |