-
-
Notifications
You must be signed in to change notification settings - Fork 255
How to chain webpack-loader #345
Comments
This is more of a webpack-chain question. You use .use('html')
.loader(require.resolve('html-loader'))
.end()
.use('markdown')
.loader(require.resolve('markdown-loader'))
↓↓↓
use: [
{ loader: require.resolve('html-loader') },
{ loader: require.resolve('markdown-loader') }
] |
have the same problem with use config: https://github.com/sinchang-bot/markdown-to-vue/blob/master/poi.config.js error:
@egoist Can you help me look it? |
@sinchang you should add vue-loader to that rule |
still doesn't work use config
new error message:
|
@sinchang eh you should reverse the order of loaders. |
confused... doesn't work in the project that creates by vue-ts-example when using |
My fault need to add below code to
Thank you for your patience. @egoist |
This issue has been marked as Stale, it will be closed in a week if there's no furthur activity. |
Do you want to request a feature or report a bug?
bug
What is the current behavior?
I'm trying to chain loader like in https://github.com/tuchk4/storybook-readme#webpack-configuration-for-react-storybook by using
extendWebpack
like this:However it only output the result from
raw-loader
. And when I change it to:It give me error
Seems like it only output the last loader
What is the expected behavior?
It output string from markdown file. For example:
Please mention other relevant information such as the browser version, Node.js version, Poi version and Operating System.
Poi v9.6.12
Node v8.9
OS Ubuntu 16.04
The text was updated successfully, but these errors were encountered: