Skip to content

Commit

Permalink
add plugin to browser compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish committed Mar 30, 2023
1 parent 48c65be commit 9b58195
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/remix-dev/compiler/browserjs/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import type { CompileOptions } from "../options";
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";
Expand Down Expand Up @@ -117,6 +118,7 @@ const createEsbuildConfig = (
? cssSideEffectImportsPlugin({ config, options })
: null,
cssFilePlugin({ config, options }),
absoluteCssUrlsPlugin(),
externalPlugin(/^https?:\/\//, { sideEffects: false }),
mdxPlugin(config),
config.future.unstable_dev
Expand Down

0 comments on commit 9b58195

Please sign in to comment.