File tree Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Expand file tree Collapse file tree 2 files changed +15
-11
lines changed Original file line number Diff line number Diff line change @@ -39,9 +39,10 @@ pnpm preview
39
39
### New Release (for Maintainers)
40
40
41
41
- Execute the release process in the core package incl. releasing on npm
42
- - Update versions in ** getting-started.html** , ** partials/navbar.html**
42
+ - Switch to branch ** v2-dev** and also pull newest package in [ packages/materialize] ( )
43
+ - Update versions in [ src/getting-started.html] ( ) , [ partials/navbar.html] ( )
43
44
- Run docs locally and check manually
44
45
- Make commit to dev (message: "chore: release 2.X.X")
45
- - Make PR in GitHub from dev -> main
46
+ - Make PR from dev -> main
46
47
- Merge the PR
47
- - Party and spread the news via social media channels 🎉
48
+ - Spread news via social media channels
Original file line number Diff line number Diff line change @@ -79,15 +79,18 @@ export default {
79
79
rollupOptions : {
80
80
//this is needed for "vite publish" to include all html files, not only the index.
81
81
input : Object . fromEntries (
82
- globSync ( "*.html" ) . map ( ( file ) => [
83
- // This remove the file extension from each
84
- // file, so e.g. nested/foo.js becomes nested/foo
85
- file . slice ( 0 , file . length - path . extname ( file ) . length ) ,
86
- // This expands the relative paths to absolute paths, so e.g.
87
- // src/nested/foo becomes /project/src/nested/foo.js
88
- fileURLToPath ( new URL ( file , import . meta. url ) ) ,
89
- ] )
82
+ globSync ( "src/*.html" ) . map ( ( file ) => {
83
+ return [
84
+ // This remove the file extension from each
85
+ // file, so e.g. nested/foo.js becomes nested/foo
86
+ file . slice ( 0 , file . length - path . extname ( file ) . length ) ,
87
+ // This expands the relative paths to absolute paths, so e.g.
88
+ // src/nested/foo becomes /project/src/nested/foo.js
89
+ fileURLToPath ( new URL ( file , import . meta. url ) ) ,
90
+ ] ;
91
+ } )
90
92
) ,
91
93
} ,
94
+ outDir : "./../dist" , // relative to rootDir
92
95
} ,
93
96
} ;
You can’t perform that action at this time.
0 commit comments