Package Exports
- webpack-obj-loader
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (webpack-obj-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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');