package/environment.js in webpacker-3.2.1 vs package/environment.js in webpacker-3.2.2

- old
+ new

@@ -31,13 +31,10 @@ return result } const getExtensionsGlob = () => { const { extensions } = config - if (!extensions.length) { - throw new Error('You must configure at least one extension to compile in webpacker.yml') - } - return extensions.length === 1 ? `**/${extensions[0]}` : `**/*{${extensions.join(',')}}` + return extensions.length === 1 ? `**/*${extensions[0]}` : `**/*{${extensions.join(',')}}` } const getEntryObject = () => { const result = new ConfigObject() const glob = getExtensionsGlob()