Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to edit and compile src/icosahedron.js to js/ico.js. But the compiled code does not work. #3

Open
sskanthi opened this issue May 29, 2019 · 1 comment

Comments

@sskanthi
Copy link

Trying to edit and compile src/icosahedron.js to js/co.js using webpack. But the compiled code does not work. After running demo.js. I get the error Explosion is not defined. Could you please provide the webpack config you have used.

@sskanthi sskanthi changed the title Trying to edit and compile src/icosahedron.js to js/co.js. But the compiled code does not work. Trying to edit and compile src/icosahedron.js to js/ico.js. But the compiled code does not work. May 29, 2019
@akella
Copy link
Owner

akella commented May 29, 2019

 output: {
      path: path.join(__dirname, config.dest.js),
      filename: '[name].js',
      publicPath: 'js/',
      library: 'SOMETHING',
      libraryTarget: 'umd'
    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants