File tree Expand file tree Collapse file tree 3 files changed +13
-20
lines changed
assetbundles/transcoder/src/js Expand file tree Collapse file tree 3 files changed +13
-20
lines changed Original file line number Diff line number Diff line change 1- /**
2- * Image Optimize plugin for Craft CMS
3- *
4- * Image Optimize JS
5- *
6- * @author nystudio107
7- * @copyright Copyright (c) 2017 nystudio107
8- * @link https://nystudio107.com
9- * @package ImageOptimize
10- * @since 1.2.0
11- */
12-
131// Import our CSS
142import styles from '../css/app.pcss' ;
3+
4+ const main = async ( ) => {
5+ } ;
6+
7+ main ( ) . then ( { } ) ;
Original file line number Diff line number Diff line change 88{%- endmacro %}
99
1010{% macro includeCssModule(cssModuleName ) -%}
11- {% from " image-optimize /_includes/include-css-module.twig" import includeCssModule %}
11+ {% from " transcoder /_includes/include-css-module.twig" import includeCssModule %}
1212 {{ includeCssModule(cssModuleName ) }}
1313{%- endmacro includeCssModule %}
1414
1515{% macro includeJsModule(jsModuleName ) -%}
16- {% from " image-optimize /_includes/include-modern-module.twig" import includeModernModule %}
17- {% from " image-optimize /_includes/include-legacy-module.twig" import includeLegacyModule %}
16+ {% from " transcoder /_includes/include-modern-module.twig" import includeModernModule %}
17+ {% from " transcoder /_includes/include-legacy-module.twig" import includeLegacyModule %}
1818 {# Browsers with ES module support load this file. #}
1919 {{ includeModernModule(jsModuleName ) }}
2020 {# Older browsers load this file (and module-supporting #}
Original file line number Diff line number Diff line change 33{% set welcomeJs = " welcome" %}
44{% set welcomeLegacyJs = " welcome-legacy" %}
55
6- {% from " image-optimize /_includes/macros.twig" import includeJsModule %}
7- {% from " image-optimize /_includes/macros.twig" import includeCssModule %}
6+ {% from " transcoder /_includes/macros.twig" import includeJsModule %}
7+ {% from " transcoder /_includes/macros.twig" import includeCssModule %}
88
99{% block head %}
1010 {{ parent () }}
11- {{ includeCssModule(" imageoptimize " ) }}
12- {% include " image-optimize /_includes/safari-nomodule-fix.twig" %}
13- {{ includeJsModule(" imageoptimize " ) }}
11+ {{ includeCssModule(" transcoder " ) }}
12+ {% include " transcoder /_includes/safari-nomodule-fix.twig" %}
13+ {{ includeJsModule(" transcoder " ) }}
1414{% endblock %}
You can’t perform that action at this time.
0 commit comments