5
私はModuleConcatenationPlugin
を使用して、WebPACKの3で、この出力を得る:Webpack v3 ModuleConcatenationPluginの救済措置の意味は何ですか?
[11] (webpack)/buildin/global.js 509 bytes {0} [built]
ModuleConcatenation bailout: Module is not an ECMAScript module
[54] multi ./src/index.js 28 bytes {0} [built]
ModuleConcatenation bailout: Module is not an ECMAScript module
[55] ./src/index.js + 33 modules 238 kB {0} [built]
ModuleConcatenation bailout: Module is referenced from these modules with unsupported syntax: multi ./src/index.js (referenced with single entry)
WebPACKの独自のファイル((webpack)/buildin/global.js
)の連結を防ぎますか?
src/index.js
は次のようになります。
import Calendar from './Calendar'
import DoubleSidedPlane from './DoubleSidedPlane'
import Grid from './Grid'
import Molecule from './Molecule'
import Plane from './Plane'
import PushMenuLayout from './PushMenuLayout'
import * as utils from './utils'
import * as core from './core'
import * as html from './html'
import * as components from './components'
export {
Calendar,
DoubleSidedPlane,
Grid,
Molecule,
Plane,
PushMenuLayout,
utils,
core,
html,
components,
}
export const version = '17.0.4'
あなたの.babelrcはどのように見えますか? – row1