mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
25 lines
453 B
JavaScript
25 lines
453 B
JavaScript
class BaseTestPlugin1 {}
|
|
class BaseTestPlugin2 {}
|
|
|
|
export default {
|
|
devtool: 'cheap-eval-source-map',
|
|
resolve: {
|
|
extensions: ['.js', '.jsx'],
|
|
alias: {
|
|
baseAlias: 'base-alias',
|
|
},
|
|
},
|
|
module: {
|
|
noParse: /jquery/,
|
|
rules: [
|
|
{
|
|
test: /\.js$/,
|
|
include: 'app/baseSrc',
|
|
loader: 'babel-loader',
|
|
options: {},
|
|
},
|
|
],
|
|
},
|
|
plugins: [new BaseTestPlugin1(), new BaseTestPlugin2()],
|
|
};
|