Skip to content

Commit

Permalink
fix(client): remove source maps from bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz committed Jul 26, 2021
1 parent 876beab commit 1731224
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 2 additions & 0 deletions sandpack-client/gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const gulp = require("gulp");
const removeSourcemaps = require("gulp-remove-sourcemaps");

gulp.task("copy-sandbox", () =>
gulp
Expand All @@ -8,5 +9,6 @@ gulp.task("copy-sandbox", () =>
"!../../codesandbox-client/www/stats.json",
"!../../codesandbox-client/www/public/**/*.*",
])
.pipe(removeSourcemaps())
.pipe(gulp.dest("./sandpack/"))
);
3 changes: 2 additions & 1 deletion sandpack-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codesandbox/sandpack-client",
"version": "0.1.4",
"version": "0.1.5",
"description": "",
"keywords": [],
"repository": {
Expand Down Expand Up @@ -40,6 +40,7 @@
"core-js": "^3.7.0",
"cross-env": "^5.0.1",
"gulp": "^3.9.1",
"gulp-remove-sourcemaps": "1.0.1",
"regenerator-runtime": "^0.13.7",
"rimraf": "^2.6.2",
"ts-node": "^4.1.0",
Expand Down
4 changes: 2 additions & 2 deletions sandpack-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codesandbox/sandpack-react",
"version": "0.1.4",
"version": "0.1.5",
"description": "",
"keywords": [],
"repository": {
Expand Down Expand Up @@ -43,7 +43,7 @@
"@codemirror/matchbrackets": "^0.18.0",
"@codemirror/state": "^0.18.0",
"@codemirror/view": "^0.18.0",
"@codesandbox/sandpack-client": "^0.1.4",
"@codesandbox/sandpack-client": "^0.1.5",
"codesandbox-import-utils": "^2.2.3",
"codesandbox-import-util-types": "^2.2.3",
"prism-react-renderer": "^1.1.1"
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7725,6 +7725,11 @@ gud@^1.0.0:
resolved "https://registry.yarnpkg.com/gud/-/gud-1.0.0.tgz#a489581b17e6a70beca9abe3ae57de7a499852c0"
integrity sha512-zGEOVKFM5sVPPrYs7J5/hYEw2Pof8KCyOwyhG8sAF26mCAeUFAcYPu1mwB7hhpIP29zOIBaDqwuHdLp0jvZXjw==

[email protected]:
version "1.0.1"
resolved "https://registry.yarnpkg.com/gulp-remove-sourcemaps/-/gulp-remove-sourcemaps-1.0.1.tgz#4298b15e02ebed3bf1a8dd10c2576916879c2f80"
integrity sha512-Gp5/CEVeIuXd7mo7GJCLtZo3Ncigt3LgK6JmllN80Ecl8bLh/nN0Knqr8XgZOb9aMPetFGy42gNbXRSqTAjEEg==

gulp-util@^3.0.0:
version "3.0.8"
resolved "https://registry.yarnpkg.com/gulp-util/-/gulp-util-3.0.8.tgz#0054e1e744502e27c04c187c3ecc505dd54bbb4f"
Expand Down

0 comments on commit 1731224

Please sign in to comment.