mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
26 lines
467 B
JavaScript
26 lines
467 B
JavaScript
|
import path from 'path';
|
||
|
|
||
|
export default {
|
||
|
entry: [
|
||
|
'core-js/fn/array/from',
|
||
|
'core-js/fn/object/assign',
|
||
|
'core-js/fn/set',
|
||
|
path.resolve(__dirname, 'src/index.js'),
|
||
|
],
|
||
|
output: {
|
||
|
path: path.resolve(__dirname, 'dist'),
|
||
|
libraryTarget: 'umd',
|
||
|
library: 'feather',
|
||
|
},
|
||
|
devtool: 'source-map',
|
||
|
module: {
|
||
|
rules: [
|
||
|
{
|
||
|
test: /\.js$/,
|
||
|
loader: 'babel-loader',
|
||
|
exclude: /node_modules/,
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
};
|