generated from unplugin/unplugin-starter
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yugang.cao
committed
Dec 1, 2023
1 parent
21b5b93
commit 3810316
Showing
10 changed files
with
571 additions
and
314 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
import { count } from './test' | ||
debugger | ||
console.log('hello world') | ||
// eslint-disable-next-line prettier/prettier | ||
console.log( | ||
'hello world', | ||
'world hello', | ||
123 | ||
) | ||
document.getElementById('app')!.innerHTML = `__UNPLUGIN__${count}` | ||
|
||
console.log('hello world') | ||
|
||
const test = () => console.log(123) | ||
|
||
test() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ | ||
"type": "module", | ||
"private": true, | ||
"scripts": { | ||
"dev": "nodemon -w '../src/**/*.ts' -e .ts -x vite" | ||
}, | ||
"devDependencies": { | ||
"unplugin-remove": "workspace:*", | ||
"vite": "^2.9.13", | ||
"vite-plugin-inspect": "^0.5.1" | ||
"vite": "^5.0.0", | ||
"vite-plugin-inspect": "^0.8.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
- packages | ||
- playground | ||
packages: | ||
- 'playground/*' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,4 @@ export default <Options>{ | |
clean: true, | ||
format: ['cjs', 'esm'], | ||
dts: true, | ||
onSuccess: 'npm run build:fix', | ||
} |