Roll back to Snowpack 2.x.

This reverts commit 5cc041577c.
This commit is contained in:
Gabe Kangas 2021-10-21 11:13:31 -07:00
parent 33a1499ac3
commit fa46bd95aa
4 changed files with 17 additions and 19 deletions

View File

@ -1 +0,0 @@
build/

View File

@ -558,6 +558,7 @@
"dependencies": {
"anymatch": "~3.1.2",
"braces": "~3.0.2",
"fsevents": "~2.3.2",
"glob-parent": "~5.1.2",
"is-binary-path": "~2.1.0",
"is-glob": "~4.0.1",

View File

@ -20,27 +20,25 @@
"postcss-cli": "^9.0.1"
},
"snowpack": {
"packageOptions": {
"knownEntrypoints": [
"video.js/core.js",
"@videojs/themes/fantasy/*",
"@videojs/http-streaming/dist/videojs-http-streaming.min.js",
"video.js/dist/video-js.min.css",
"@joeattardi/emoji-button",
"htm",
"preact",
"mark.js/dist/mark.es6.min.js",
"tailwindcss/dist/tailwind.min.css",
"micromodal/dist/micromodal.min.js"
]
},
"install": [
"video.js/core.js",
"@videojs/themes/fantasy/*",
"@videojs/http-streaming/dist/videojs-http-streaming.min.js",
"video.js/dist/video-js.min.css",
"@joeattardi/emoji-button",
"htm",
"preact",
"mark.js/dist/mark.es6.min.js",
"tailwindcss/dist/tailwind.min.css",
"micromodal/dist/micromodal.min.js"
],
"alias": {
"video.js": "video.js/core.js"
}
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rm -rf build && npx snowpack build && rm -rf ../../webroot/js/web_modules && cp -R build/web_modules ../../webroot/js"
"build": "npm install && npx snowpack@2.18.4 install && cp node_modules/video.js/dist/video-js.min.css web_modules/videojs && rm -rf ../../webroot/js/web_modules && cp -R web_modules ../../webroot/js"
},
"author": "Owncast",
"license": "ISC"

File diff suppressed because one or more lines are too long