UNPKG

aframe-lsystem-component

Version:

L-System/LSystem component for A-Frame to draw 3D turtle graphics. Using Lindenmayer as backend.

31 lines (27 loc) 545 B
const path = require('path'); const UglifyJSPlugin = require('uglifyjs-webpack-plugin'); const webpack = require('webpack'); module.exports = { target: 'web', entry: './index.js', output: { path: path.resolve(__dirname, 'dist'), filename: 'aframe-lsystem-component.min.js' }, module: { rules: [ { test: /\.js$/, exclude: /(node_modules)/, use: { loader: 'babel-loader', options: { babelrc: true } } }, ] }, plugins: [ ], };