kef-builder-buffet
Version:
buffet-builder构建工具
37 lines (32 loc) • 776 B
JavaScript
// // 暂时不用
// const path = require('path');
// const fs = require('fs');
// const webpack = require('webpack');
// let rootPath = fs.realpathSync(process.cwd());
// let srcPath = path.resolve(rootPath, 'src'),
// buildPath = path.resolve(rootPath, 'build');
// const preCommon = [
// 'common/js/object.assign.js',
// 'common/js/rem.js'
// ];
// module.exports = {
// output: {
// path: buildPath,
// filename: 'common/[name].js'
// },
// entry: {
// 'pre-common': preCommon,
// },
// plugins: [
// new webpack.DllPlugin({
// path: 'manifest.json',
// name: '[name]',
// context: rootPath,
// }),
// ],
// resolve: {
// alias: {
// common: path.resolve(srcPath, '_common')
// }
// }
// };