chen86860/javascript-simple-calculator

css and js wrong path in dist folder

Opened this issue · 1 comments

In dist folder, calc.html has wrong path of css and js:

  • href="/dist/javascript-simple-calculator.css"
  • src="/dist/javascript-simple-calculator.js"

Must be :

  • href="javascript-simple-calculator.css"
  • src="javascript-simple-calculator.js"

Because this files are in the same level of calc.html

Fixing this, calculator starts and works!

Oh, Yes. The bundler tools may release it to the wrong path, I'll fix it. Thank you ~