mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-11 00:06:25 +08:00
ADD compiler to loader as per docs
This commit is contained in:
parent
b52f1b5282
commit
6aa6b3e4f4
@ -8,6 +8,9 @@ export function webpack(config) {
|
|||||||
{
|
{
|
||||||
test: /\.marko$/,
|
test: /\.marko$/,
|
||||||
loader: require.resolve('marko-loader'),
|
loader: require.resolve('marko-loader'),
|
||||||
|
options: {
|
||||||
|
compiler: require.resolve('marko/compiler'),
|
||||||
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user