50103374e7
# rollup --config rollup.config.js (node:2833) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension. (Use `node --trace-warnings ...` to show where the warning was created) [!] RollupError: Node tried to load your configuration file as CommonJS even though it is likely an ES module. To resolve this, change the extension of your configuration to ".mjs", set "type": "module" in your package.json file or pass the "--bundleConfigAsCjs" flag.
19 lines
567 B
JavaScript
19 lines
567 B
JavaScript
// Rollup.js configuration for OOMAnalyser
|
|
//
|
|
// Copyright (c) 2021-2022 Carsten Grohmann
|
|
// License: MIT (see LICENSE.txt)
|
|
// THIS PROGRAM COMES WITH NO WARRANTY
|
|
|
|
export default {
|
|
input: '__target__/OOMAnalyser.js',
|
|
output: {
|
|
file: 'OOMAnalyser.js',
|
|
name: 'OOMAnalyser',
|
|
banner: '// JavaScript for OOMAnalyser\n' +
|
|
'//\n' +
|
|
'// Copyright (c) 2017-2022 Carsten Grohmann\n' +
|
|
'// License: MIT (see LICENSE.txt)\n' +
|
|
'// THIS PROGRAM COMES WITH NO WARRANTY',
|
|
format: 'umd'
|
|
}
|
|
}; |