mirror of
https://github.com/lancedikson/bowser
synced 2024-10-27 20:34:22 +00:00
parent
b94587fdbc
commit
bdd75028e5
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,3 +3,4 @@ node_modules/
|
|||||||
.nyc_output
|
.nyc_output
|
||||||
coverage
|
coverage
|
||||||
dist
|
dist
|
||||||
|
compiled.js
|
||||||
|
@ -20,8 +20,7 @@
|
|||||||
"url": "http://twitter.com/lancedikson"
|
"url": "http://twitter.com/lancedikson"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"main": "./dist/bowser.compiled.js",
|
"main": "src/bowser.js",
|
||||||
"typings": "./typings.d.ts",
|
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/lancedikson/bowser.git"
|
"url": "git+https://github.com/lancedikson/bowser.git"
|
||||||
|
@ -9,10 +9,10 @@ module.exports = {
|
|||||||
// and webpack starts bundling
|
// and webpack starts bundling
|
||||||
output: {
|
output: {
|
||||||
// options related to how webpack emits results
|
// options related to how webpack emits results
|
||||||
path: path.resolve(__dirname, 'dist'), // string
|
path: path.resolve(__dirname, './'), // string
|
||||||
// the target directory for all output files
|
// the target directory for all output files
|
||||||
// must be an absolute path (use the Node.js path module)
|
// must be an absolute path (use the Node.js path module)
|
||||||
filename: 'bowser.compiled.js', // string
|
filename: 'compiled.js', // string
|
||||||
// the filename template for entry chunks
|
// the filename template for entry chunks
|
||||||
library: 'bowser',
|
library: 'bowser',
|
||||||
libraryTarget: 'umd', // universal module definition
|
libraryTarget: 'umd', // universal module definition
|
||||||
|
Loading…
Reference in New Issue
Block a user