From 244e3a434c3b4ef990bb5a735c8fa90337a691bd Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Fri, 18 Jun 2021 05:47:34 -0700 Subject: [PATCH] Disable data-source terser minification Summary: I don't think this should make a difference in our size. Will see in the size check. This makes it quite hard right now to read errors that involve the data-source package because terser runs over it. Reviewed By: nikoant Differential Revision: D29228941 fbshipit-source-id: 8cc79e4148be0e8ced9186323967bc79ba781c0b --- .../data-source/flipper-data-source.tsconfig.json | 12 ++++++------ desktop/flipper-plugin/src/data-source/package.json | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/desktop/flipper-plugin/src/data-source/flipper-data-source.tsconfig.json b/desktop/flipper-plugin/src/data-source/flipper-data-source.tsconfig.json index a7b280120..fb88b5067 100644 --- a/desktop/flipper-plugin/src/data-source/flipper-data-source.tsconfig.json +++ b/desktop/flipper-plugin/src/data-source/flipper-data-source.tsconfig.json @@ -1,10 +1,10 @@ { "compilerOptions": { - "target": "es5", - "module": "commonjs", - "strict": true, - "esModuleInterop": true, - "skipLibCheck": true, - "forceConsistentCasingInFileNames": true + "target": "es5", + "module": "commonjs", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true } } diff --git a/desktop/flipper-plugin/src/data-source/package.json b/desktop/flipper-plugin/src/data-source/package.json index aee1fe6ef..495494336 100644 --- a/desktop/flipper-plugin/src/data-source/package.json +++ b/desktop/flipper-plugin/src/data-source/package.json @@ -10,8 +10,8 @@ "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { - "build": "microbundle --tsconfig flipper-data-source.tsconfig.json --compress --jsx React.createElement", - "watch": "microbundle --tsconfig flipper-data-source.tsconfig.json --compress --jsx React.createElement watch" + "build": "microbundle --tsconfig flipper-data-source.tsconfig.json --no-compress --jsx React.createElement", + "watch": "microbundle --tsconfig flipper-data-source.tsconfig.json --no-compress --jsx React.createElement watch" }, "files": [ "lib/"