Skip to content

Commit

Permalink
chore/upgrade greenwood v0.30.0 (#98)
Browse files Browse the repository at this point in the history
* upgrade greenwood v0.30.0

* upgrade alpha.2

* bump netlify.toml node version

* gracefully handle un-resolvable CSS assets

* add patch package and postinstall

* refactor to use constructable stylesheets

* handle data: URLs in CSS optimization

* bump greenwood alpha.3

* upgrade v0.30.0-alpha.4

* restore testing workflow

* convert all CSS to use constructable stylesheets

* remove plugin

* remove plugin from testing

* restore postcss plugin

* restore postcss plugin

* real production css modules

* patching with greenwood super css

* setup patch package

* patching externalized constructable stylesheets  bundling

* upgrade greenwood v0.30.0-alpha.5

* patch package support for import attributes polyfill

* restore inline optimization

* patch quiter console logging

* upgrade alpha.6

* bump to greenwood v0.30.0-alpha.7

* v0.30.0 final
  • Loading branch information
thescientist13 authored Nov 2, 2024
1 parent cd320c8 commit fac8efd
Show file tree
Hide file tree
Showing 37 changed files with 4,682 additions and 1,865 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.12.1
18.20.2
5 changes: 3 additions & 2 deletions greenwood.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { greenwoodPluginFontAwesome } from '@analogstudiosri/greenwood-plugin-font-awesome';
import { greenwoodPluginGoogleAnalytics } from '@greenwood/plugin-google-analytics';
import { greenwoodPluginTypeScript } from '@greenwood/plugin-typescript';
import { greenwoodPluginImportCss } from '@greenwood/plugin-import-css';
import { greenwoodPluginPostCss } from '@greenwood/plugin-postcss';
import analyze from 'rollup-plugin-analyzer';
import { visualizer } from 'rollup-plugin-visualizer';
Expand All @@ -14,9 +13,11 @@ export default {
'/api': 'https://www.analogstudios.net'
}
},
polyfills: {
importAttributes: ['css', 'json']
},
plugins: [
greenwoodPluginPostCss(),
greenwoodPluginImportCss(),
greenwoodPluginFontAwesome(),
greenwoodPluginTypeScript(),
// https://developers.google.com/analytics/devguides/collection/analyticsjs/single-page-applications
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
skip_processing = true

[build.environment]
NODE_VERSION = "18.12.1"
NODE_VERSION = "18.20.2"

[[redirects]]
from = "/api/*"
Expand Down
Loading

0 comments on commit fac8efd

Please sign in to comment.