Sha256: 5fc4b5259384bf710dc30b4b5bda7bf64e4712bda2b6de218aadf597427e97bc
Contents?: true
Size: 597 Bytes
Versions: 14
Compression:
Stored size: 597 Bytes
Contents
const { resolve } = require('path') const { realpathSync } = require('fs') const { source_path: sourcePath, additional_paths: additionalPaths } = require('../config') const inclusions = [sourcePath, ...additionalPaths].map(p => { try { return realpathSync(p) } catch (e) { return resolve(p) } }) module.exports = { include: inclusions, exclude: [ { // exclude all node_modules from running through babel-loader and: [resolve('node_modules')], // Do not exclude inclusions, as otherwise these won't be transpiled not: [...inclusions] } ] }
Version data entries
14 entries across 14 versions & 1 rubygems