@spectra/window-day-care
Version:
A library to help you create popup windows and iframes. It makes communication between parent and child window a breeze.
22 lines (21 loc) • 534 B
JavaScript
const { ProvidePlugin } = require('webpack')
module.exports = {
entry: "./src/index.ts",
devtool: 'inline-source-map',
resolve: {
extensions: ['.webpack.js', '.web.js', '.json', '.ts', '.tsx', '.js']
},
module: {
loaders: [
{ test: /\.tsx?$/, loader: 'ts-loader' },
]
},
plugins: [
new ProvidePlugin({ Reflect: 'core-js/es7/reflect' })
],
output: {
path: __dirname,
filename: "index.js",
libraryTarget: "umd"
}
};