@atomicsmash/compiler 0.9.0 → 0.9.1

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/dist/config.d.ts CHANGED
@@ -40,7 +40,7 @@ export declare function config(options: {
40
40
  };
41
41
  devtool: false | "source-map";
42
42
  mode: "production" | "development";
43
- entry: string | string[] | webpack.EntryObject | (() => string | webpack.EntryObject | string[] | Promise<string | string[] | webpack.EntryObject>) | undefined;
43
+ entry: string | string[] | (() => string | webpack.EntryObject | string[] | Promise<string | string[] | webpack.EntryObject>) | webpack.EntryObject | undefined;
44
44
  output: {
45
45
  filename: string;
46
46
  clean: true;
@@ -64,7 +64,7 @@ export declare function config(options: {
64
64
  use: {
65
65
  loader: string;
66
66
  options: {
67
- loader: "default" | "ts";
67
+ loader: "ts" | "default";
68
68
  target: string[];
69
69
  tsconfig: string;
70
70
  };
@@ -96,12 +96,12 @@ export declare function config(options: {
96
96
  options: {
97
97
  postcssOptions: {
98
98
  sourceMap: boolean;
99
- plugins: (typeof cssNano | (import("postcss").Processor | import("postcss").PluginCreator<{
99
+ plugins: ((import("postcss").Processor | import("postcss").PluginCreator<{
100
100
  base?: string;
101
101
  optimize?: boolean | {
102
102
  minify?: boolean;
103
103
  };
104
- }> | typeof import("tailwindcss").default | import("postcss").Plugin)[])[];
104
+ }> | typeof import("tailwindcss").default | import("postcss").Plugin)[] | typeof cssNano)[];
105
105
  };
106
106
  sourceMap?: undefined;
107
107
  sassOptions?: undefined;
@@ -120,7 +120,7 @@ export declare function config(options: {
120
120
  })[];
121
121
  })[];
122
122
  };
123
- plugins: (BlocksPlugin | DependencyExtractionWebpackPlugin | CopyPlugin | SVGSpritemapPlugin | import("vue-loader").VueLoaderPlugin | webpack.ProgressPlugin | WebpackAssetsManifest | BundleAnalyzerPlugin | webpack.DefinePlugin)[];
123
+ plugins: (import("vue-loader").VueLoaderPlugin | webpack.ProgressPlugin | WebpackAssetsManifest | SVGSpritemapPlugin | CopyPlugin | BundleAnalyzerPlugin | DependencyExtractionWebpackPlugin | BlocksPlugin | webpack.DefinePlugin)[];
124
124
  optimization: {
125
125
  minimizer: EsbuildPlugin[];
126
126
  };
package/dist/config.js CHANGED
@@ -314,7 +314,7 @@ export async function config(options) {
314
314
  if (entry.key.startsWith("css/")) {
315
315
  entry.key = entry.key.replace("css/", "styles/");
316
316
  }
317
- if (entry.key.endsWith(".js.js")) {
317
+ if (entry.key.endsWith(".js")) {
318
318
  entry.key = entry.key.slice(0, -3);
319
319
  }
320
320
  return entry;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atomicsmash/compiler",
3
3
  "type": "module",
4
- "version": "0.9.0",
4
+ "version": "0.9.1",
5
5
  "description": "A universal compiler for all Atomic Smash projects.",
6
6
  "keywords": [
7
7
  "cli",