UNPKG

token-management

Version:

``` npm i token-management ``` or ``` yarn add token-management ```

26 lines (25 loc) 533 B
var path = require('path'); module.exports = { entry: './src/index.js', mode: 'production', output: { path: path.resolve(__dirname, 'build'), filename: 'index.js', libraryTarget: 'commonjs2' }, module: { rules: [ { test: /\.js$/, include: path.resolve(__dirname, 'src'), exclude: /(node_modules|bower_components|build)/, use: { loader: 'babel-loader', options: { presets: ['@babel/preset-env'] } } } ] } };