Skip to content

Instantly share code, notes, and snippets.

@martinkunc
Created October 16, 2021 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinkunc/d5d4bbfa60d81bd4254972162a266c57 to your computer and use it in GitHub Desktop.
Save martinkunc/d5d4bbfa60d81bd4254972162a266c57 to your computer and use it in GitHub Desktop.
new webpack.ProvidePlugin({
$: 'jquery',
jQuery: 'jquery',
'window.jQuery': 'jquery',
'window.$': 'jquery',
}),
new webpack.SourceMapDevToolPlugin({
filename: '[file].map',
append: '\n//# sourceMappingURL=[filebase].map',
}),
new MiniCssExtractPlugin({
filename: "../css/[name].css"
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment