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 react-native
This commit is contained in:
parent
5cfd9a1284
commit
bc833f9ac4
@ -52,11 +52,10 @@
|
||||
"express": "^4.16.3",
|
||||
"find-cache-dir": "^1.0.0",
|
||||
"global": "^4.3.2",
|
||||
"html-loader": "^0.5.5",
|
||||
"html-webpack-plugin": "^3.2.0",
|
||||
"json5": "^1.0.1",
|
||||
"markdown-loader": "^2.0.2",
|
||||
"prop-types": "^15.6.1",
|
||||
"raw-loader": "^0.5.1",
|
||||
"react-native-compat": "^1.0.0",
|
||||
"react-native-iphone-x-helper": "^1.0.2",
|
||||
"shelljs": "^0.8.1",
|
||||
|
@ -46,14 +46,7 @@ const getConfig = options => ({
|
||||
},
|
||||
{
|
||||
test: /\.md$/,
|
||||
use: [
|
||||
{
|
||||
loader: require.resolve('html-loader'),
|
||||
},
|
||||
{
|
||||
loader: require.resolve('markdown-loader'),
|
||||
},
|
||||
],
|
||||
loader: require.resolve('raw-loader'),
|
||||
},
|
||||
],
|
||||
},
|
||||
|
@ -50,14 +50,7 @@ const getConfig = options => {
|
||||
},
|
||||
{
|
||||
test: /\.md$/,
|
||||
use: [
|
||||
{
|
||||
loader: require.resolve('html-loader'),
|
||||
},
|
||||
{
|
||||
loader: require.resolve('markdown-loader'),
|
||||
},
|
||||
],
|
||||
loader: require.resolve('raw-loader'),
|
||||
},
|
||||
],
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user