UNPKG
spencer-kit-project-templates
Version:
latest (0.3.4)
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.1
0.1.0
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1
spencer kit project templates
github.com/pallyoung/spencer-kit
pallyoung/spencer-kit
spencer-kit-project-templates
/
templates
/
npm_package
/
webpack.config.js
13 lines
•
283 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
var
path
=
require
(
'path'
);
module
.exports = { entry: {
'npmpackage'
:
'./index.js'
, },
output
: {
path
:
path
.resolve(
'./dist'
), filename:
'[name].js'
, library:
'npmpackage'
, libraryTarget:
'umd'
, umdNamedDefine:
true
} }