@keycloakify/angular-email 0.0.1 → 0.0.2

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.
package/README.md CHANGED
@@ -109,9 +109,9 @@ export default defineConfig(({ mode }) => ({
109
109
  cwd: import.meta.dirname,
110
110
  esbuild: {
111
111
  packages: 'bundle',
112
- external: ['juice', 'postcss'],
113
- format: 'cjs',
114
- outExtension: { '.js': '.cjs' },
112
+ external: ['juice', 'postcss', 'tailwindcss'],
113
+ format: 'esm',
114
+ outExtension: { '.js': '.mjs' },
115
115
  plugins: [angularEsbuildPlugin(import.meta.dirname)],
116
116
  },
117
117
  });
@@ -219,6 +219,10 @@ toHTML<Input extends Record<string, any>>(options: {
219
219
  }) => Promise<string>
220
220
  ```
221
221
 
222
+ ### @keycloakify/angular-email/tailwindcss-preset-email
223
+
224
+ Just a tailwind v3 preset, inspired by [@maizzle/tailwindcss-preset-email](https://github.com/maizzle/tailwindcss-preset-email)
225
+
222
226
  ## Contributing
223
227
 
224
228
  Contributions are welcome! Feel free to open an issue or submit a pull request on [GitHub](https://github.com/keycloakify/angular-email).
package/bin/build.mjs CHANGED
@@ -15,14 +15,15 @@ async function bundle(entryPoints, cwd, outdir) {
15
15
  const result = await esbuild.build({
16
16
  entryPoints: entryPoints,
17
17
  bundle: true,
18
+ splitting: true,
18
19
  outdir,
19
20
  absWorkingDir: cwd,
20
21
  platform: 'node',
21
22
  sourcemap: true,
22
23
  packages: 'bundle',
23
- external: ['juice', 'postcss'],
24
- format: 'cjs',
25
- outExtension: { '.js': '.cjs' },
24
+ external: ['juice', 'postcss', 'tailwindcss'],
25
+ format: 'esm',
26
+ outExtension: { '.js': '.mjs' },
26
27
  target: 'node20',
27
28
  plugins: [angularEsbuildPlugin(cwd)],
28
29
  metafile: true,