Skip to content

Commit

Permalink
Remove propTypes for prod, and code clean up (#230)
Browse files Browse the repository at this point in the history
* Remove propTypes for prod, and code clean up
  • Loading branch information
roderickhsiao committed Apr 18, 2019
2 parents 4de16dd + 5cc4a17 commit 1c9776f
Show file tree
Hide file tree
Showing 9 changed files with 105 additions and 12,756 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"plugins": [
"dynamic-import-node",
"syntax-dynamic-import",
"add-module-exports"
"add-module-exports",
"transform-object-rest-spread"
],
"test": {
"presets": [
Expand Down
14 changes: 12 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,12 @@ module.exports = function (grunt) {
dist: {
options: {
sourceMap: false,
plugins: ['dynamic-import-node', 'syntax-dynamic-import', 'add-module-exports'],
plugins: [
'dynamic-import-node',
'syntax-dynamic-import',
'add-module-exports',
'transform-object-rest-spread'
],
presets: [
[
'env',
Expand All @@ -109,7 +114,12 @@ module.exports = function (grunt) {
'dist-es': {
options: {
sourceMap: false,
plugins: ['dynamic-import-node', 'syntax-dynamic-import', 'add-module-exports'],
plugins: [
'dynamic-import-node',
'syntax-dynamic-import',
'add-module-exports',
'transform-object-rest-spread'
],
presets: [
[
'env',
Expand Down

0 comments on commit 1c9776f

Please sign in to comment.