From 8b45103130dcf4017d23dd38c6c02d042e25c4b8 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 22 Apr 2021 15:26:52 +0100 Subject: [PATCH 1/2] Linaria: disable autoprefixing --- rollup.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rollup.config.js b/rollup.config.js index af471a016a..b3e74a5151 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -3,8 +3,10 @@ import linaria from '@linaria/rollup'; import postcss from 'rollup-plugin-postcss'; import { babel } from '@rollup/plugin-babel'; import nodeResolve from '@rollup/plugin-node-resolve'; +import stylis from 'stylis'; import pkg from './package.json'; +stylis.set({ prefix: false }); const extensions = ['.ts', '.tsx']; export default { From 15e407451ce136988da65ba88b7c51c8f7437b36 Mon Sep 17 00:00:00 2001 From: Nicolas Stepien Date: Thu, 22 Apr 2021 15:44:28 +0100 Subject: [PATCH 2/2] rm proposal-nullish-coalescing-operator and proposal-optional-chaining in babel config --- babel.config.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/babel.config.json b/babel.config.json index ae739ac236..dd8901c6f8 100644 --- a/babel.config.json +++ b/babel.config.json @@ -5,11 +5,7 @@ "bugfixes": true, "shippedProposals": true, "corejs": 3, - "useBuiltIns": "entry", - "include": [ - "@babel/proposal-nullish-coalescing-operator", - "@babel/proposal-optional-chaining" - ] + "useBuiltIns": "entry" }], ["@babel/react", { "runtime": "automatic" }], "@babel/typescript",