1
1
mirror of https://github.com/primer/css.git synced 2024-11-24 05:06:04 +03:00

add raw-loader for markdown

This commit is contained in:
Shawn Allen 2017-09-12 16:42:56 -07:00
parent 34729b348e
commit 83d9422dc0

View File

@ -5,6 +5,10 @@ const modulesPath = path.resolve(__dirname, "../modules")
module.exports = { module.exports = {
module: { module: {
rules: [ rules: [
{
test: /\.md$/,
use: "raw-loader",
},
{ {
test: /\.scss$/, test: /\.scss$/,
loaders: [ loaders: [
@ -28,7 +32,7 @@ module.exports = {
}, },
], ],
include: modulesPath, include: modulesPath,
} },
] ],
}, },
} }