Aintaer / import-glob-loader

Globbing preloader for Webpack
50 stars 16 forks source link

Fix parseQuery error #11

Open brunnolou opened 7 years ago

brunnolou commented 7 years ago

Fix Webpack 3 error with node versions different than 7.#.#. The following error:

Error: Module build failed: ModuleBuildError: Module build failed: Error: A valid query string passed to parseQuery should begin with '?'

Same error here: https://github.com/jballant/webpack-strip-block/issues/4 Same fix: https://github.com/jballant/webpack-strip-block/pull/5/files#diff-168726dbe96b3ce427e7fedce31bb0bcR7