Browse Source

chore: remove unused code

Gerald 3 năm trước cách đây
mục cha
commit
ddd14929a2
2 tập tin đã thay đổi với 1 bổ sung13 xóa
  1. 0 7
      .babelrc.js
  2. 1 6
      scripts/plaid.conf.js

+ 0 - 7
.babelrc.js

@@ -1,10 +1,3 @@
-const path = require('path');
-const { defaultOptions } = require('@gera2ld/plaid/util');
-
-defaultOptions.alias = {
-  '@': path.resolve('src'),
-};
-
 module.exports = {
   extends: require.resolve('@gera2ld/plaid/config/babelrc'),
   presets: [

+ 1 - 6
scripts/plaid.conf.js

@@ -1,9 +1,4 @@
-const path = require('path');
-const { defaultOptions, isProd } = require('@gera2ld/plaid/util');
-
-defaultOptions.alias = {
-  '@': path.resolve('src'),
-};
+const { isProd } = require('@gera2ld/plaid/util');
 
 /**
  * For each entry, `key` is the chunk name, `value` has following properties: