Skip to content

Commit

Permalink
chore(remix-dev/compiler): remove deprecatedRemixPackagePlugin (#5751)
Browse files Browse the repository at this point in the history
Co-authored-by: Logan McAnsh <logan@mcan.sh>
  • Loading branch information
MichaelDeBoey and mcansh authored Apr 10, 2023
1 parent 5f2d44e commit 6cc32b4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 33 deletions.
6 changes: 6 additions & 0 deletions .changeset/remove-magic-exports-esbuild-plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"remix": major
"@remix-run/dev": major
---

remove deprecation warning esbuild plugin from compiler for magic exports
2 changes: 0 additions & 2 deletions packages/remix-dev/compiler/assets/js.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { browserRouteModulesPlugin } from "./plugins/routes";
import { browserRouteModulesPlugin as browserRouteModulesPlugin_v2 } from "./plugins/routes_unstable";
import { cssFilePlugin } from "../plugins/cssImports";
import { absoluteCssUrlsPlugin } from "../plugins/absoluteCssUrlsPlugin";
import { deprecatedRemixPackagePlugin } from "../plugins/deprecatedRemixPackage";
import { emptyModulesPlugin } from "../plugins/emptyModules";
import { mdxPlugin } from "../plugins/mdx";
import { externalPlugin } from "../plugins/external";
Expand Down Expand Up @@ -101,7 +100,6 @@ const createEsbuildConfig = (
}

let plugins: esbuild.Plugin[] = [
deprecatedRemixPackagePlugin(options.onWarning),
cssModulesPlugin({ config, mode, outputCss: false }),
vanillaExtractPlugin({ config, mode, outputCss: false }),
cssSideEffectImportsPlugin({ config, options }),
Expand Down
29 changes: 0 additions & 29 deletions packages/remix-dev/compiler/plugins/deprecatedRemixPackage.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/remix-dev/compiler/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { cssSideEffectImportsPlugin } from "../plugins/cssSideEffectImports";
import { vanillaExtractPlugin } from "../plugins/vanillaExtract";
import { cssFilePlugin } from "../plugins/cssImports";
import { absoluteCssUrlsPlugin } from "../plugins/absoluteCssUrlsPlugin";
import { deprecatedRemixPackagePlugin } from "../plugins/deprecatedRemixPackage";
import { emptyModulesPlugin } from "../plugins/emptyModules";
import { mdxPlugin } from "../plugins/mdx";
import { serverAssetsManifestPlugin } from "./plugins/manifest";
Expand Down Expand Up @@ -50,7 +49,6 @@ const createEsbuildConfig = (
let outputCss = false;

let plugins: esbuild.Plugin[] = [
deprecatedRemixPackagePlugin(options.onWarning),
cssModulesPlugin({ config, mode, outputCss }),
vanillaExtractPlugin({ config, mode, outputCss }),
cssSideEffectImportsPlugin({ config, options }),
Expand Down

0 comments on commit 6cc32b4

Please sign in to comment.