more fixes

This commit is contained in:
David Sun
2019-12-19 16:49:20 -08:00
parent 38cdb48748
commit ed4e90623d
3 changed files with 4 additions and 6 deletions

View File

@@ -8,7 +8,7 @@
"description": "0x Instant React Component",
"main": "umd/instant.js",
"scripts": {
"build": "NODE_ENV=production WEBPACK_OUTPUT_PATH=umd/v3 node --max_old_space_size=8192 ../../node_modules/.bin/webpack --mode production",
"build": "NODE_ENV=production node --max_old_space_size=8192 ../../node_modules/.bin/webpack --mode production",
"build:dev": "webpack --mode development",
"build:ci": "yarn build",
"dev": "dotenv webpack-dev-server -- --mode development",

View File

@@ -1,5 +1,3 @@
<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="13.0001" y="6.41421" width="9.3138" height="9.3138" transform="rotate(45 13.0001 6.41421)" stroke="white" stroke-width="2"/>
<rect x="13.0001" y="10.3334" width="3.77125" height="3.77125" transform="rotate(45 13.0001 10.3334)" fill="white"/>
<path d="M21.0001 13.0001L13.0001 21.0001L5 13.0001H21.0001Z" fill="white"/>
<svg width="26" height="15" viewBox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M1.55837 0H6.04094C8.76769 0 10.8347 1.46575 11.6041 3.59775H13V4.88719H11.8983C11.9194 5.09031 11.9308 5.29831 11.9308 5.50956V5.54125C11.9308 5.7785 11.9169 6.0125 11.8893 6.24081H13V7.53025H11.5773C10.7876 9.633 8.73681 11.0841 6.04094 11.0841H1.55837V7.53025H0V6.24H1.55837V4.88719H0V3.59775H1.55837V0ZM2.81125 7.53025V9.92713H6.04094C8.034 9.92713 9.51438 8.96756 10.2042 7.53025H2.81125ZM10.5877 6.24081H2.81206V4.88719H10.5901C10.6186 5.10006 10.6332 5.31781 10.6332 5.54125V5.57294C10.6332 5.80044 10.6186 6.02387 10.5877 6.24081V6.24081ZM6.04094 1.15456C8.04294 1.15456 9.52819 2.14012 10.2131 3.59775H2.81125V1.15456H6.04094V1.15456Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 431 B

After

Width:  |  Height:  |  Size: 812 B

View File

@@ -62,7 +62,7 @@ const getRollbarTokens = (dischargeTarget, rollbarRequired) => {
};
const generateConfig = (dischargeTarget, heapConfigOptions, rollbarConfigOptions, nodeEnv) => {
const outputPath = process.env.WEBPACK_OUTPUT_PATH || 'umd';
const outputPath = process.env.WEBPACK_OUTPUT_PATH || 'umd/v3';
const { heapAnalyticsIdEnvName, heapAnalyticsIdRequired } = heapConfigOptions;
const heapAnalyticsId = process.env[heapAnalyticsIdEnvName];