File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ export default defineConfig(() => {
2626 fileName : 'hawk' ,
2727 } ,
2828 rollupOptions : {
29- external : [ '@hawk.so/core' ] ,
3029 plugins : [
3130 license ( {
3231 thirdParty : {
@@ -37,8 +36,8 @@ export default defineConfig(() => {
3736 return false ;
3837 }
3938
40- // Allow MIT and Apache-2.0 licenses .
41- return [ 'MIT' , 'Apache-2.0' ] . includes ( dependency . license ) ;
39+ // Allow MIT, Apache-2.0, and AGPL-3.0-only (first-party @hawk.so packages) .
40+ return [ 'MIT' , 'Apache-2.0' , 'AGPL-3.0-only' ] . includes ( dependency . license ) ;
4241 } ,
4342 failOnUnlicensed : true ,
4443 failOnViolation : true ,
@@ -56,6 +55,7 @@ export default defineConfig(() => {
5655 } ,
5756
5857 resolve : {
58+ conditions : [ 'source' ] ,
5959 alias : {
6060 '@/types' : path . resolve ( __dirname , './src/types' ) ,
6161 } ,
Original file line number Diff line number Diff line change @@ -6,4 +6,7 @@ export default defineConfig({
66 server : {
77 host : true ,
88 } ,
9+ resolve : {
10+ conditions : [ 'source' ] ,
11+ } ,
912} ) ;
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ export default defineConfig(() => {
1414 external : [ 'sveltekit' , '@hawk.so/javascript' ] ,
1515 } ,
1616 } ,
17+ resolve : {
18+ conditions : [ 'source' ] ,
19+ } ,
1720 plugins : [
1821 dts ( {
1922 tsconfigPath : './tsconfig.json' ,
You can’t perform that action at this time.
0 commit comments