# packages can be an object (for one package) or an array (for multiple packages) # packages: [] extensions: style: - .pcss - .css - .scss - .sass - .tailwind script: - .js - .jsx - .ts - .tsx - .json module: - .mjs - .mjsx - .mts - .mtsx commonJS: - .cjs - .cjsx - .cts - .ctsx folder: base: DistributionPackages input: Fusion # additionalAliases can be a string or an array additionalAliases: Packages output: inline: Private/Templates/InlineAssets style: Public/Styles script: Public/Scripts module: Public/Modules commonJS: Public/CommonJS buildDefaults: inline: false sourcemap: true format: iife jsFileExtension: script: .js module: .mjs commonJS: .cjs # external can be a string or an array # https://esbuild.github.io/api/#external external: null content: DistributionPackages: DistributionPackages/**/{Private,NodeTypes,Components}/**/*.{fusion,cpx,html,js,jsx,ts,tsx,mjs,mjsx,mts,mtsx,cjs,cjsx,cts,ctsx,svelte,vue} ignoreNodeModules: '!DistributionPackages/**/node_modules' compression: brotli: 11 gzip: 9 # Pass options to the sass compiler sassOptions: null # Pass options to the postcss config file postcssOptions: tailwindcss: config: './tailwind.config.mjs' additionalPackagePathPrefixes: [] esbuild: # Set Neos Flow settings as FLOW variable. If `true` all the settings are passed. # It is recommended to set it to a path (e.g. Flownative.Sentry) # This is the same as passing --path to the ./flow configuration:show command # In Javascript the value is available under the variable FLOW # (e.g. FLOW.Flownative.Sentry) defineFlowSettings: false flowCommand: production: 'FLOW_CONTEXT=Production php flow configuration:show' development: 'php flow configuration:show' ddevCheck: 'ddev -v >/dev/null 2>&1' # Set options for esbuild options: # Define a string (for only one function) or an array with functions who can be removed on production builds. # eg. ['console.log','console.info'] # https://esbuild.github.io/api/#pure pure: null # The log level can be changed to prevent esbuild from printing warning and/or error messages to the terminal. # https://esbuild.github.io/api/#log-level logLevel: info # A "legal comment" is considered to be any statement-level comment # that contains @license or @preserve or that starts with //! or /*!. # https://esbuild.github.io/api/#legal-comments legalComments: linked plugins: vue: enable: false plugin: esbuild-plugin-vue3 options: cssInline: true svelte: enable: false plugin: esbuild-svelte preprocess: svelte-preprocess filterWarnings: # Disable warnings if the filename and path starts with the given string filenameStartsWith: 'node_modules/': true # Disable warnings for the following rules code: null options: compilerOptions: css: injected babel: enable: false options: null injectStyle: enable: true # additionalPlugins: # esbuild-envfile-plugin: # functionName: setup # options: null