mise a jours post wikithon winterschool 2024
This commit is contained in:
17
special/recentnews/rollup.config.js
Normal file
17
special/recentnews/rollup.config.js
Normal file
@@ -0,0 +1,17 @@
|
||||
// rollup.config.js
|
||||
// https://github.com/rollup/rollup-plugin-commonjs
|
||||
import commonjs from 'rollup-plugin-commonjs';
|
||||
import resolve from 'rollup-plugin-node-resolve';
|
||||
|
||||
export default [{
|
||||
input: 'src/recentchanges.js',
|
||||
output: {
|
||||
file: 'dist/recentchanges.js',
|
||||
format: 'iife',
|
||||
name: 'app'
|
||||
},
|
||||
plugins: [
|
||||
resolve(),
|
||||
commonjs()
|
||||
]
|
||||
}];
|
||||
Reference in New Issue
Block a user