UNPKG

projection-3d-2d

Version:

Project (transform) point coordinates from 3D to 2D and unproject it back.

25 lines (24 loc) 473 B
var path = require('path'); module.exports = { entry: './index.js', output: { filename: 'projection-3d-2d.min.js', path: path.resolve(__dirname, 'dist'), library: 'Projection3d2d', }, module: { rules: [ { test: /\.m?js$/, use: { loader: 'babel-loader', options: { presets: [ ['@babel/preset-env', { targets: "defaults" }] ] } } }, ], } };