Sha256: f2a93589472d3f83854dd2f7acd21c9c4ecc2851ad8905535e77c6a308002bbb

Contents?: true

Size: 409 Bytes

Versions: 16

Compression:

Stored size: 409 Bytes

Contents

const { loaderMatches } = require('../utils/helpers')
const { getEsbuildLoaderConfig } = require('../esbuild')
const {
  webpack_loader: webpackLoader
} = require('../config')
const jscommon = require('./jscommon')

module.exports = loaderMatches(webpackLoader, 'esbuild', () => ({
  test: /\.(ts|tsx|js|jsx|mjs|coffee)?(\.erb)?$/,
  ...jscommon,
  use: ({ resource }) => getEsbuildLoaderConfig(resource)
}))

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
shakapacker-7.2.3 package/rules/esbuild.js
shakapacker-7.3.0.beta.1 package/rules/esbuild.js
shakapacker-7.2.2 package/rules/esbuild.js
shakapacker-7.2.1 package/rules/esbuild.js
shakapacker-7.2.0 package/rules/esbuild.js
shakapacker-7.2.0.rc.0 package/rules/esbuild.js
shakapacker-7.1.0 package/rules/esbuild.js
shakapacker-7.0.3 package/rules/esbuild.js
shakapacker-7.0.2 package/rules/esbuild.js
shakapacker-7.0.1 package/rules/esbuild.js
shakapacker-7.0.0 package/rules/esbuild.js
shakapacker-7.0.0.rc.2 package/rules/esbuild.js
shakapacker-7.0.0.rc.1 package/rules/esbuild.js
shakapacker-7.0.0.rc.0 package/rules/esbuild.js
shakapacker-6.6.0 package/rules/esbuild.js
shakapacker-6.5.6 package/rules/esbuild.js