You can also explicitly specify the entry file:
好的,但是它是否运行main.js,是否将其包含在js文件中,该文件由客户端浏览器上的index.html加载。我在浏览器中看到页面加载了一个名为: app.23d...js的js文件。我的问题是这个js文件
我正试图在打字稿中建立一个非常简单的库。它应该可以在浏览器或节点上使用。所以平台不可知论。ReferenceError: self is not defined at eval (webpack:///./node_modules/oboe/dist/oboe-browser.js?:2701:10)