123456789101112131415161718192021 |
- const path = require('path')
- module.exports = {
- entry: path.join(__dirname, '../src/index'),
- output: {
- path: path.join(__dirname, '../dist'),
- filename: 'weapp-adapter.js',
- },
- module: {
- loaders: [
- {
- test: /\.js$/,
- exclude: /node_modules/,
- loaders: [
- 'babel',
- 'eslint-loader'
- ]
- }
- ]
- }
- }
|