Sha256: 6fcc1a58d082dd0575ed1ed506baeb0fe610ff8c9cf2ca3c3ddcb9cd525cd5bd
Contents?: true
Size: 1.87 KB
Versions: 21
Compression:
Stored size: 1.87 KB
Contents
let path = require('path'); module.exports = { module: { rules: [ { test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader', options: { presets: [ path.join(__dirname, '..', 'node_modules/babel-preset-react'), path.join(__dirname, '..', 'node_modules/babel-preset-env') ], plugins: [ path.join(__dirname, '..', 'node_modules/babel-plugin-transform-class-properties'), path.join(__dirname, '..', 'node_modules/babel-plugin-transform-object-rest-spread'), path.join(__dirname, '..', 'node_modules/babel-plugin-transform-object-assign'), path.join(__dirname, '..', 'node_modules/babel-plugin-syntax-dynamic-import') ] } }, { test: /(\.png|\.gif)$/, loader: 'url-loader?limit=32767' }, { test: /\.css$/, loaders: ['style-loader', 'css-loader'], }, { test: /\.scss$/, loaders: ['style-loader', 'css-loader', { loader: 'sass-loader', options: { includePaths: [ // teach webpack to resolve patternfly dependencies path.resolve(__dirname, '..', 'node_modules', 'patternfly', 'dist', 'sass'), path.resolve(__dirname, '..', 'node_modules', 'bootstrap-sass', 'assets', 'stylesheets'), path.resolve(__dirname, '..', 'node_modules', 'font-awesome-sass', 'assets', 'stylesheets') ] } }] }, { test: /\.md$/, loaders: ['raw-loader'] }, { test: /(\.ttf|\.woff|\.woff2|\.eot|\.svg|\.jpg)$/, loaders: ['url-loader'] }, ], }, resolve: { modules: [ path.join(__dirname, '..', 'webpack'), path.join(__dirname, '..', 'node_modules'), 'node_modules/', ], }, };
Version data entries
21 entries across 21 versions & 1 rubygems