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
const SourceMapDevToolPlugin = require('source-map-dev-tool-plugin');
mix
.webpackConfig({
devtool: false,
plugins: [
new SourceMapDevToolPlugin({
filename: "[file].map",
moduleFilenameTemplate: '[absolute-resource-path]',
}),
]
output: Error: ReferenceError: SourceMapDevToolPlugin is not defined
I don't know how can install webpack plugins. I have same trouble with const NpmInstallPlugin = require('npm-install-webpack-plugin'): webpack-contrib/install-webpack-plugin#122
Steps To Reproduce:
edit webpack.mix.js
npm run dev
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
npm -v
): 6.14.4Description:
I need same. Removes the webpack:/// prefix: webpack-contrib/css-loader#622 (comment)
and in finall get "file:///D:/my-site/resources/less/style.less"
This code generating maps file with path: http://my-site.dev/resources/less/style.less
and this don't helped me:
devtoolModuleFilenameTemplate: 'file:///D:/[namespace]'
I tried this plugin: https://webpack.js.org/plugins/source-map-dev-tool-plugin/
I don't know how can install webpack plugins. I have same trouble with const NpmInstallPlugin = require('npm-install-webpack-plugin'):
webpack-contrib/install-webpack-plugin#122
Steps To Reproduce:
The text was updated successfully, but these errors were encountered: