UNPKG

ns-vue-nami

Version:

Router companion for Nativescript-Vue 2.0's Manual Routing.

25 lines (24 loc) 442 B
const path = require('path'); module.exports = { entry: './src', output: { library: 'NsVueNami', libraryTarget: 'commonjs2', path: path.resolve(__dirname, 'dist'), filename: 'index.js' }, module: { rules: [ { test: /\.js$/, exclude: /(node_modules)/, use: { loader: 'babel-loader', options: { presets: ['env'] } } } ] } }