Sha256: bd6e9261cc759c927a5d2ff66b739d94e38916492538c6d03b8489761459be0d

Contents?: true

Size: 528 Bytes

Versions: 2

Compression:

Stored size: 528 Bytes

Contents

module.exports = {
  context: __dirname + '/src',
  entry: [
    'babel-polyfill',
    './index.js'
  ],

  module: {
    loaders: [
      {
        test: /\.jsx?$/,
        exclude: /node_modules/,
        loaders: ['babel-loader?stage=0'],
      }
    ],
  },

  output: {
    path: __dirname + '/../app/assets/javascripts/pageflow',
    filename: 'react.js',

    libraryTarget: 'assign',
    library: ['pageflow', 'react']
  },

  externals: {
    pageflow: 'pageflow',
    react: 'React',
    'react-dom': 'ReactDOM'
  }
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pageflow-react-0.1.1 js/webpack.config.js
pageflow-react-0.1.0 js/webpack.config.js