Skip to content

Commit

Permalink
debug: enforce development webpack mode
Browse files Browse the repository at this point in the history
  • Loading branch information
s-pace committed Oct 28, 2019
1 parent 64e5bee commit 8e866db
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docsearch/plugins/my-loaders/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@ module.exports = function(context, options) {
return {
name: 'loaders',
configureWebpack(config, isServer) {
console.log("custom loaders")
console.log(JSON.stringify(config,null, 1))
console.log(process.env.NODE_ENV)
return {
mode:"development",
module: {
rules: [
{
Expand Down

0 comments on commit 8e866db

Please sign in to comment.