Sha256: 1663945d9d880d7faad1cf1aa85593fbc500995bad712b01ddc48b163461b1a0

Contents?: true

Size: 546 Bytes

Versions: 5

Compression:

Stored size: 546 Bytes

Contents

import { nodeResolve } from '@rollup/plugin-node-resolve';
import { babel } from '@rollup/plugin-babel';
import commonjs from '@rollup/plugin-commonjs';

export default {
  input: 'src/three.mjs',
  output: {
    dir: 'lib-opal/js_wrap/three/',
    format: 'iife'
  },
  plugins: [
    nodeResolve(),
    commonjs(),
    babel({
      "babelHelpers": "runtime",
      "presets": ["@babel/preset-env"],
      "compact" : false,
      "targets": { "chrome": 38 },
      "plugins": [
        "@babel/plugin-transform-runtime"
      ]
    })
  ]
};

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
opal-js_wrap-three-0.1.5 rollup.config.js
opal-js_wrap-three-0.1.4 rollup.config.js
opal-js_wrap-three-0.1.3 rollup.config.js
opal-js_wrap-three-0.1.2 rollup.config.js
opal-js_wrap-three-0.1.1 rollup.config.js