Created
December 10, 2020 16:00
-
-
Save gaurangrshah/885f85d314e70743be41b731e7b82b73 to your computer and use it in GitHub Desktop.
#webpack #markdown #raw-loader
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
webpack: function(config) { | |
config.module.rules.push({ | |
test: /\.md$/, | |
use: 'raw-loader', | |
}) | |
return config | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment