webpack-obj-loader
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Webpack loader for OBJ

Loading OBJ files by using frenchtoast747's webgl-obj-loader. It's actually just a wrapper, it resolves new Mesh(source).

Install

npm install --save-dev webpack-obj-loader

Usage

{
    module: {
        loaders: [
            {
                test: /\.obj$/,
                loader: 'webpack-obj-loader'
            }
        ]
    }
}

and then

import myLovelyObject from './myLovelyShader.obj');

Package Sidebar

Install

npm i webpack-obj-loader

Weekly Downloads

82

Version

1.0.4

License

MIT

Last publish

Collaborators

  • mentos1386