Sha256: 91843a4f68dae2269e4c243fb8105c20305161dbbbb0202ae58cd3fa6d7ba63a
Contents?: true
Size: 556 Bytes
Versions: 1
Compression:
Stored size: 556 Bytes
Contents
const { loaderMatches } = require('../utils/helpers') const { webpack_loader: webpackLoader } = require('../config') const { isProduction } = require('../env') const jscommon = require('./jscommon') module.exports = loaderMatches(webpackLoader, 'babel', () => ({ test: /\.(js|jsx|mjs|ts|tsx|coffee)?(\.erb)?$/, ...jscommon, use: [ { loader: require.resolve('babel-loader'), options: { cacheDirectory: true, cacheCompression: isProduction, compact: isProduction } } ] }))
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shakapacker-6.5.6 | package/rules/babel.js |