Skip to content

Commit

Permalink
fix: added browser to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyhuy committed Sep 13, 2020
1 parent 17a5dcf commit fe7a4db
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/ggsmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"unified": "^9.2.0"
},
"main": "dist/index.js",
"browser": "dist/index.js",
"module": "src/index.js",
"scripts": {
"build": "cross-env BABEL_ENV=production babel src/index.js --config-file ../../babel.config.js --ignore '**/*.spec.js,**/*.test.js' --out-dir dist"
Expand Down
1 change: 1 addition & 0 deletions packages/remark-color-text/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
],
"license": "MIT",
"main": "dist/index.js",
"browser": "dist/index.js",
"module": "src/index.js",
"scripts": {
"build": "cross-env BABEL_ENV=production babel src/index.js --config-file ../../babel.config.js --out-dir dist"
Expand Down
3 changes: 2 additions & 1 deletion packages/remark-spoilers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
],
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.js",
"browser": "dist/index.js",
"module": "src/index.js",
"scripts": {
"build": "cross-env BABEL_ENV=production babel src/index.js --config-file ../../babel.config.js --ignore '**/*.spec.js,**/*.test.js' --out-dir dist"
}
Expand Down
1 change: 1 addition & 0 deletions packages/remark-text-alignment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"space-separated-tokens": "^1.1.5"
},
"main": "dist/index.js",
"browser": "dist/index.js",
"module": "src/index.js",
"scripts": {
"build": "cross-env BABEL_ENV=production babel src/index.js --config-file ../../babel.config.js --ignore '**/*.spec.js,**/*.test.js' --out-dir dist"
Expand Down

0 comments on commit fe7a4db

Please sign in to comment.