UNPKG

super-select

Version:

Flexible aternative to select element

26 lines (23 loc) 563 B
const path = require("path"); module.exports = { entry: "./index.js", output: { path: path.resolve(__dirname, "./dist"), filename: "SuperSelect.js", library: "SuperSelect", publicPath: "/dist/", libraryTarget: "umd" }, module: { rules: [{ test: /\.jsx?$/, exclude: /node_modules/, use: ['babel-loader'] }, { test: /\.scss$/, use: [ "style-loader", "css-loader", "sass-loader", ] }], }, };