mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 18:41:06 +08:00
Replace md- and html-loader with raw-loader for polymer
This commit is contained in:
parent
d7c8fa7c71
commit
9740215349
@ -40,6 +40,7 @@
|
||||
"dotenv-webpack": "^1.5.5",
|
||||
"global": "^4.3.2",
|
||||
"html-webpack-plugin": "^3.2.0",
|
||||
"raw-loader": "^0.5.1",
|
||||
"webpack": "^4.6.0",
|
||||
"webpack-hot-middleware": "^2.22.1"
|
||||
},
|
||||
|
@ -84,6 +84,10 @@ export default function(configDir) {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
test: /\.md$/,
|
||||
loader: require.resolve('raw-loader'),
|
||||
},
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
|
@ -79,6 +79,10 @@ export default function(configDir) {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
test: /\.md$/,
|
||||
loader: require.resolve('raw-loader'),
|
||||
},
|
||||
],
|
||||
},
|
||||
resolve: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user