UNPKG

@abstractapi/javascript-core

Version:

AbstractAPI Javascript Core Library - Used by the other Abstract API libraries

21 lines (20 loc) 529 B
const path = require("path") module.exports = { entry: path.resolve(__dirname, "src/index.js"), // entry: ['@babel/polyfill', path.resolve(__dirname, "src/index.js")], output: { path: path.resolve(__dirname, "dist"), filename: "javascript-core.js", libraryTarget: "umd", }, module: { rules: [ { test: /\.(js)$/, exclude: /node_modules/, use: "babel-loader", }, ], }, mode: "production", }