mirror of
https://github.com/wassname/talk.git
synced 2026-08-12 12:30:39 +08:00
Working plugin importer
This commit is contained in:
+3
-2
@@ -4,7 +4,8 @@ const precss = require('precss');
|
||||
const Copy = require('copy-webpack-plugin');
|
||||
const LicenseWebpackPlugin = require('license-webpack-plugin');
|
||||
const webpack = require('webpack');
|
||||
|
||||
// const plugins = require('./plugins.json');
|
||||
// 'plugins': plugins.client.map(name => path.join(__dirname, `plugins/${name}/index`))
|
||||
// Edit the build targets and embeds below.
|
||||
|
||||
const buildTargets = [
|
||||
@@ -122,7 +123,7 @@ module.exports = {
|
||||
],
|
||||
resolve: {
|
||||
alias: {
|
||||
plugins: path.resolve(__dirname, 'plugins/index.js'),
|
||||
plugins: path.resolve(__dirname, 'plugins/'),
|
||||
},
|
||||
modules: [
|
||||
path.resolve(__dirname, 'client'),
|
||||
|
||||
Reference in New Issue
Block a user