Rename some files to .cjs, make the codebase aware of .cjs and .mjs extensions

This commit is contained in:
Alex Gleason
2023-01-17 18:34:11 -06:00
parent 988d466fcd
commit 54eae01255
14 changed files with 17 additions and 10 deletions

View File

@ -7,7 +7,7 @@ import type { RuleSetRule } from 'webpack';
const isDevelopment = process.env.NODE_ENV === 'development';
const rule: RuleSetRule = {
test: /\.(js|jsx|mjs|ts|tsx)$/,
test: /\.(js|jsx|cjs|mjs|ts|tsx)$/,
include: [
settings.source_path,
...settings.resolved_paths,