diff --git a/global.d.ts b/global.d.ts new file mode 100644 index 0000000..5c1c18f --- /dev/null +++ b/global.d.ts @@ -0,0 +1 @@ +declare module '*.md'; diff --git a/webpack.config.js b/webpack.config.js new file mode 100644 index 0000000..fb5208a --- /dev/null +++ b/webpack.config.js @@ -0,0 +1,10 @@ +module.exports = { + module: { + rules: [ + { + test: /\.md$/i, + use: 'raw-loader', + }, + ], + }, +};