最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Configure Webpack with Electron to use ES6 imports? - Stack Overflow

programmeradmin1浏览0评论

I am trying to use Webpack since I want to use ES modules in my Electron application but having some hurdles. I just want to use import in my main as well as renderer processes.

My application structure is as follows -

- src/                  // contains basic html, css & js
  - index.html          // <h1>Hello World</h1>
  - style.css           // is empty
  - app.js              // console.log('it works 
发布评论

评论列表(0)

  1. 暂无评论