mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
2ee03d261c | |||
dc3c0cc47e | |||
d5ba74d93b |
@ -3,6 +3,7 @@
|
|||||||
"version": "0.0.0-development",
|
"version": "0.0.0-development",
|
||||||
"description": "Simply beautiful open source icons",
|
"description": "Simply beautiful open source icons",
|
||||||
"main": "dist/feather.js",
|
"main": "dist/feather.js",
|
||||||
|
"unpkg": "dist/feather.min.js",
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
|
@ -6,6 +6,9 @@ module.exports = {
|
|||||||
path: path.resolve(__dirname, 'dist'),
|
path: path.resolve(__dirname, 'dist'),
|
||||||
libraryTarget: 'umd',
|
libraryTarget: 'umd',
|
||||||
library: 'feather',
|
library: 'feather',
|
||||||
|
// Prevents webpack from referencing `window` in the UMD build
|
||||||
|
// Source: https://git.io/vppgU
|
||||||
|
globalObject: "typeof self !== 'undefined' ? self : this",
|
||||||
},
|
},
|
||||||
devtool: 'source-map',
|
devtool: 'source-map',
|
||||||
module: {
|
module: {
|
||||||
|
Reference in New Issue
Block a user