bridgetown-core 1.3.0.beta2 → 1.3.0.beta3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec81158ce54460fb44c4296bae6c3eb75c95c627492c6fe5891cbd853089a13c
|
|
4
|
+
data.tar.gz: e22e4e4cfd9b4c27a5eefefd1670e43c99badb7eb9c8be96105b47e024324543
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6130dec47320b9b66406afbb6e98e5851ceba1664292c37be8d02a800c9e95a6c9678ccbc5c822dc2f64497e0b9b0826c0956dd72ab81c2526b9fb499b3d13a5
|
|
7
|
+
data.tar.gz: ac1d0032d102186ae07d41997bd29541bf96eb3e7aee7aa6ca25df8da5b3cebef18ebb7cb3d51c1ef58270df68c65d126271b55bb822f8fdd046927ccfee68b5
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
const build = require("./config/esbuild.defaults.js")
|
|
2
2
|
|
|
3
|
-
// Update this if you need to configure a destination folder other than `output`
|
|
4
|
-
const outputFolder = "output"
|
|
5
|
-
|
|
6
3
|
// You can customize this as you wish, perhaps to add new esbuild plugins.
|
|
7
4
|
//
|
|
8
5
|
// ```
|
|
@@ -39,8 +36,8 @@ const esbuildOptions = {
|
|
|
39
36
|
// add new plugins here...
|
|
40
37
|
],
|
|
41
38
|
globOptions: {
|
|
42
|
-
excludeFilter: /\.(dsd|lit)\.
|
|
39
|
+
excludeFilter: /\.(dsd|lit)\.css$/
|
|
43
40
|
}
|
|
44
41
|
}
|
|
45
42
|
|
|
46
|
-
build(
|
|
43
|
+
build(esbuildOptions)
|
|
@@ -283,11 +283,11 @@ const bridgetownConfigured = (bridgetownConfig, outputFolder) => {
|
|
|
283
283
|
// Load the PostCSS config from postcss.config.js or whatever else is a supported location/format
|
|
284
284
|
const postcssrc = require("postcss-load-config")
|
|
285
285
|
|
|
286
|
-
module.exports = async (esbuildOptions) => {
|
|
286
|
+
module.exports = async (esbuildOptions, ...args) => {
|
|
287
287
|
let outputFolder;
|
|
288
288
|
if (typeof esbuildOptions === "string") { // legacy syntax where first argument is output folder
|
|
289
|
-
|
|
290
|
-
|
|
289
|
+
outputFolder = esbuildOptions
|
|
290
|
+
esbuildOptions = args[0]
|
|
291
291
|
}
|
|
292
292
|
const bridgetownConfig = bridgetownConfigured(esbuildOptions.bridgetownConfig, outputFolder)
|
|
293
293
|
|
|
@@ -11,9 +11,9 @@ end
|
|
|
11
11
|
|
|
12
12
|
say_status :lit, "Installing Lit + SSR Plugin..."
|
|
13
13
|
|
|
14
|
-
add_gem "bridgetown-lit-renderer", version: "2.1.0.
|
|
14
|
+
add_gem "bridgetown-lit-renderer", version: "2.1.0.beta2"
|
|
15
15
|
|
|
16
|
-
run "yarn add lit esbuild-plugin-lit-css bridgetown-lit-renderer@2.1.0-
|
|
16
|
+
run "yarn add lit esbuild-plugin-lit-css bridgetown-lit-renderer@2.1.0-beta2"
|
|
17
17
|
|
|
18
18
|
copy_file in_templates_dir("lit-ssr.config.js"), "config/lit-ssr.config.js"
|
|
19
19
|
copy_file in_templates_dir("lit-components-entry.js"), "config/lit-components-entry.js"
|
|
@@ -30,7 +30,7 @@ end
|
|
|
30
30
|
insert_into_file "esbuild.config.js",
|
|
31
31
|
after: " plugins: [" do
|
|
32
32
|
<<-JS
|
|
33
|
-
|
|
33
|
+
...plugins,
|
|
34
34
|
JS
|
|
35
35
|
end
|
|
36
36
|
|