Skip to content

Commit

Permalink
Add browser sourcemap and remove log (#3990)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Mar 11, 2021
1 parent a692a8d commit cf3329c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@
"files": [
"dist/**/*.js",
"dist/*.d.ts",
"dist/bin/rollup"
"dist/bin/rollup",
"dist/rollup.browser.js.map"
],
"engines": {
"node": ">=10.0.0"
Expand Down
3 changes: 1 addition & 2 deletions src/Module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,6 @@ export default class Module {
} else if (!this.id.endsWith('.js')) {
message += ' (Note that you need plugins to import files that are not JavaScript)';
}
console.log(err);
return this.error(
{
code: 'PARSE_ERROR',
Expand All @@ -820,7 +819,7 @@ export default class Module {
);
}
}


updateOptions({
meta,
Expand Down

0 comments on commit cf3329c

Please sign in to comment.