mirror of
https://github.com/wassname/talk.git
synced 2026-09-11 12:51:33 +08:00
Use custom plugins loader
This commit is contained in:
@@ -61,6 +61,11 @@ module.exports = {
|
||||
cacheDirectory: true
|
||||
}
|
||||
},
|
||||
{
|
||||
loader: 'plugins-loader',
|
||||
test: /\.json$/,
|
||||
include: path.join(__dirname, 'plugins.json')
|
||||
},
|
||||
{
|
||||
loader: 'json-loader',
|
||||
test: /\.json$/,
|
||||
@@ -119,6 +124,9 @@ module.exports = {
|
||||
}
|
||||
})
|
||||
],
|
||||
resolveLoader: {
|
||||
modules: ['node_modules', path.resolve(__dirname, 'client/coral-framework/loaders')],
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
plugins: path.resolve(__dirname, 'plugins/'),
|
||||
|
||||
Reference in New Issue
Block a user