mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
18 lines
377 B
JavaScript
18 lines
377 B
JavaScript
|
import path from "node:path";
|
||
|
import { fileURLToPath } from "node:url";
|
||
|
import resolve from "@rollup/plugin-node-resolve";
|
||
|
|
||
|
const dirname = path.dirname( fileURLToPath( import.meta.url ) );
|
||
|
|
||
|
export default {
|
||
|
input: `${ dirname }/src-pure-esm/main.js`,
|
||
|
output: {
|
||
|
dir: `${ dirname }/tmp/rollup-pure-esm`,
|
||
|
format: "iife",
|
||
|
sourcemap: true
|
||
|
},
|
||
|
plugins: [
|
||
|
resolve()
|
||
|
]
|
||
|
};
|