Skip to content

Commit

Permalink
chore: tweak config
Browse files Browse the repository at this point in the history
  • Loading branch information
dpyzo0o committed Jan 9, 2020
1 parent a7c0947 commit 999408e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/dev.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable import/no-commonjs */
module.exports = {
env: {
NODE_ENV: '"development"',
Expand Down
3 changes: 2 additions & 1 deletion config/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable import/no-commonjs */
const path = require('path');

// NOTE 在 sass 中通过别名(@ 或 ~)引用需要指定路径
Expand All @@ -15,7 +16,7 @@ const sassImporter = function(url) {
};

const config = {
projectName: 'with-redux-toolkit',
projectName: 'taro-toolkit',
date: '2019-12-5',
designWidth: 750,
deviceRatio: {
Expand Down
1 change: 1 addition & 0 deletions config/prod.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable import/no-commonjs */
module.exports = {
env: {
NODE_ENV: '"production"',
Expand Down

0 comments on commit 999408e

Please sign in to comment.