From 999408ed8bfda932a009efb430d587b456a10c8e Mon Sep 17 00:00:00 2001 From: dpyzo0o Date: Thu, 9 Jan 2020 11:59:37 +0800 Subject: [PATCH] chore: tweak config --- config/dev.js | 1 + config/index.js | 3 ++- config/prod.js | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/config/dev.js b/config/dev.js index 24d3f9c..06f4043 100644 --- a/config/dev.js +++ b/config/dev.js @@ -1,3 +1,4 @@ +/* eslint-disable import/no-commonjs */ module.exports = { env: { NODE_ENV: '"development"', diff --git a/config/index.js b/config/index.js index c204dbe..23d968b 100644 --- a/config/index.js +++ b/config/index.js @@ -1,3 +1,4 @@ +/* eslint-disable import/no-commonjs */ const path = require('path'); // NOTE 在 sass 中通过别名(@ 或 ~)引用需要指定路径 @@ -15,7 +16,7 @@ const sassImporter = function(url) { }; const config = { - projectName: 'with-redux-toolkit', + projectName: 'taro-toolkit', date: '2019-12-5', designWidth: 750, deviceRatio: { diff --git a/config/prod.js b/config/prod.js index 1886bd4..3e31c38 100644 --- a/config/prod.js +++ b/config/prod.js @@ -1,3 +1,4 @@ +/* eslint-disable import/no-commonjs */ module.exports = { env: { NODE_ENV: '"production"',