You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
422 B
20 lines
422 B
'use strict';
|
|
|
|
var path = require('path');
|
|
|
|
module.exports = {
|
|
entry: './examples/app.js',
|
|
//entry: './acme.js',
|
|
output: {
|
|
path: path.resolve(__dirname, 'dist'),
|
|
filename: 'app.js'
|
|
//filename: 'acme.js',
|
|
//library: '@root/acme',
|
|
//libraryTarget: 'umd'
|
|
//globalObject: "typeof self !== 'undefined' ? self : this"
|
|
},
|
|
resolve: {
|
|
aliasFields: ['webpack', 'browser'],
|
|
mainFields: ['browser', 'main']
|
|
}
|
|
};
|
|
|