-
Notifications
You must be signed in to change notification settings - Fork 2
code-style을 pite로 빌드합니다 #96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
94cae79
c93c85a
5f6bbf0
9a65beb
c43a164
eec954e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| --- | ||
| "@naverpay/eslint-config": patch | ||
| "@naverpay/eslint-plugin": patch | ||
| --- | ||
|
|
||
| code-style을 pite로 빌드합니다 | ||
|
|
||
| PR: [code-style을 pite로 빌드합니다](https://github.com/NaverPayDev/code-style/pull/96) |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| import {createViteConfig} from '@naverpay/pite' | ||
| import builtins from 'builtin-modules' | ||
|
|
||
| export default createViteConfig({ | ||
| entry: ['./index.js'], | ||
| options: { | ||
| minify: false, | ||
| rollupOptions: { | ||
| external: [...builtins], | ||
| }, | ||
| }, | ||
| }) | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| import {createViteConfig} from '@naverpay/pite' | ||
| import builtins from 'builtin-modules' | ||
|
|
||
| export default createViteConfig({ | ||
| entry: ['./lib/index.js'], | ||
| ignoredPolyfills: ['esnext.json.parse', 'es.array.push'], | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 요것두 폴리필 불필요할 듯 하여 ignore처리했는데 혹시 최신 스펙 사용을 의도한 것이라면 말씀 부탁드립니닷,,
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 저거 두개 다 아마 ignore 처리해도 될 거에요 문서는 못찾겠는데 사소한 이슈로 알고 있습니다
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 일단 코드로 보기에는 진짜 단순 parse, push만 쓴느 것 같아서 ignore할게용 |
||
| options: { | ||
| minify: false, | ||
| rollupOptions: { | ||
| external: [...builtins], | ||
| }, | ||
| }, | ||
| }) | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
근데 이거 builtin 기본적으로 빠지게 설정 안했었나.. 기억이 안나네요
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
저도 그런줄 알았는데 deps, peerDeps만 기본 external 처리되어 있습니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
기본값으로 이거 빼는게 맞을거같네용..
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다음버전에 반영하겠습니닷