Sha256: 922a8e115b7b5eecb3e18cb9b3324be42343e33d321c4e91f6db3a2269caa6c9

Contents?: true

Size: 558 Bytes

Versions: 1

Compression:

Stored size: 558 Bytes

Contents

var path = require('path');

module.exports = {
  entry: './src/index.js',
  module: {
    rules: [
      { test: /\.js$/, exclude: /node_modules/, loader: "babel-loader" },
      {
        test: /\.coffee$/,
        use: [
          { loader: 'coffee-loader',
            options: {
              transpile: {
                presets: ['env']
              }
            }
          }
        ]
      }
    ]
  },
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'loco-model.js',
    library: 'LocoModel',
    libraryTarget: 'umd'
  }
};

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
loco-rails-3.0.0 test/dummy/node_modules/loco-js-model/webpack.config.js