Skip to content

Commit

Permalink
Merge pull request #39 from boostcamp-2020/configure/refactor
Browse files Browse the repository at this point in the history
리뷰사항 반영, 웹팩 추가
  • Loading branch information
maong0927 authored Dec 20, 2020
2 parents 61f5d21 + 5a46723 commit 2ff7416
Show file tree
Hide file tree
Showing 27 changed files with 5,608 additions and 82 deletions.
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,11 @@
### node_modules
node_modules/


### dist
packages/*/dist/
### .env 파일
.env

### coverage 파일
coverage/

### yarn.lock 파일
yarn.lock

### log 파일
yarn-error.log
npm-debug.log
Expand Down
22 changes: 1 addition & 21 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
browsers: ['ie >= 9'],
},
useBuiltIns: 'usage',
corejs: { version: 3, proposals: true },
},
],
'@babel/preset-typescript',
],
plugins: [['inline-json-import', {}]],

env: {
build: {
ignore: ['**/*.test.tsx', '**/*.test.ts', '__tests__'],
},
},
ignore: ['node_modules'],
babelrcRoots: ['.', 'packages/*'],
};
2 changes: 1 addition & 1 deletion examples/node.example.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { init, captureError, captureMessage } = require('@santry/node');

const dsn = '[token]@[url]';
const dsn = '[token]@[URL]';

init(dsn, {
traceSampleRate: 1,
Expand Down
3 changes: 2 additions & 1 deletion examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
},
"devDependencies": {
"@babel/runtime": "^7.12.5",
"@babel/runtime-corejs3": "^7.12.5"
"@babel/runtime-corejs3": "^7.12.5",
"inline-source-map": "^0.6.2"
}
}
Loading

0 comments on commit 2ff7416

Please sign in to comment.