function acornDefaultPlugins() {
	return {
		name: 'acorn-default-plugins',
		options(opts) {
			// @ts-ignore
			opts.acornInjectPlugins = [
				acornStaticClass,
				acornClassFields,
				acornPrivateMethods,
				acornLogicalAssignment,
				...(opts.acornInjectPlugins || [])
			];
			return opts;
		}
	};
}
Use a plugin to inject acorn plugins in both development and
production mode.
@returns {import("rollup").Plugin}