react-helmet icon indicating copy to clipboard operation
react-helmet copied to clipboard

Minified React error #152

Open 1aGh opened this issue 8 years ago • 3 comments

Hi,

I came across this issue when I was try to build my app with react-helmet in it. https://reactjs.org/docs/error-decoder.html?invariant=152&args[]=t

It works fine on development mode but when i try to build the app and minified it didn't work.

My enviroment: webpack: 4.17.1 react: 16.4.1 react-helmet: 5.2.0

My minimizer:

	minimizer: [
		new UglifyJsPlugin({
			uglifyOptions: {
				compress: {
					warnings: false, // Suppress uglification warnings
					pure_getters: true,
					unsafe: true,
					unsafe_comps: true,
				},
				output: {
					comments: false,
				},
				exclude: [/\.min\.js$/gi] // skip pre-minified libs
			}
		})
	],

Thank you for your help

1aGh avatar Aug 23 '18 09:08 1aGh

Need more information to analyze your issue.. Do you have a reproducible repo?

AubreyHewes avatar Oct 03 '18 22:10 AubreyHewes

Hi, well unfortunately I have this repo on gitlab as private project.

1aGh avatar Oct 07 '18 09:10 1aGh

@1aGh Hi Michal, Was issue fixed? I meet this error also only in production mode but not in development mode, I am using webpack 4 also.

OptimusYang avatar Oct 16 '18 07:10 OptimusYang