WebPack Test JS или JSX

test: /\.(js|mjs|jsx|ts|tsx)$/,
Gifted Gorilla