plugin-axios-acan
Version:
Based on @vuex-orm/plugin-axios, For myself useing, do some little differentiation. Thanks https://github.com/vuex-orm/plugin-axios
24 lines (22 loc) • 411 B
JavaScript
const path = require('path');
module.exports = {
entry: './src/index.js',
target: 'node',
output: {
library: 'vuex-orm-axios',
libraryTarget: 'umd',
path: path.resolve(__dirname, 'dist'),
filename: 'index.js',
},
module: {
rules: [
{
test: /\.js$/,
exclude: /node_modules/,
use: {
loader: 'babel-loader',
},
},
],
},
};