You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use this package. However, it doesn't work.
Could you please teach me how to write webpack.config.js in webpack 5?
This is my webpack.config.js:
module: {strictExportPresence: true,rules: [// Handle node_modules packages that contain sourcemapsshouldUseSourceMap&&{enforce: 'pre',exclude: /@babel(?:\/|\\{1,2})runtime/,test: /\.(js|mjs|jsx|ts|tsx|css)$/,loader: require.resolve('source-map-loader'),},{// "oneOf" will traverse all following loaders until one will// match the requirements. When no loader matches it will fall// back to the "file" loader at the end of the loader list.oneOf: [// Markdown{test: /\.md$/,use: [{loader: 'babel!react-markdown',},],},]},],}
version of webpack: 5.64.4
The text was updated successfully, but these errors were encountered:
I am trying to use this package. However, it doesn't work.
Could you please teach me how to write
webpack.config.js
in webpack 5?This is my
webpack.config.js
:version of webpack: 5.64.4
The text was updated successfully, but these errors were encountered: