How to use the VERSION function from rollup
Find comprehensive JavaScript rollup.VERSION code examples handpicked from public code repositorys.
rollup.VERSION is a property that returns the current version of Rollup, a module bundler for JavaScript.
4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309
} return envPrefix; } exports.esbuildVersion = esbuild.version; exports.rollupVersion = rollup.VERSION; exports.createFilter = createFilter; exports.createLogger = createLogger; exports.isCSSRequest = isCSSRequest; exports.loadEnv = loadEnv;
0
0
1
How does rollup.VERSION work?
rollup.VERSION is a property in Rollup.js library that contains the current version number of the Rollup.js package that is being used. It is a simple way for developers to check the version of the Rollup.js package that they are currently using without having to parse package.json.
Ai Example
1 2 3
import { VERSION } from "rollup"; console.log(`Using Rollup version ${VERSION}`);
When executed, this code will log a message to the console that includes the current version of Rollup that is being used. The VERSION constant is provided by Rollup and contains the current version number as a string.
rollup.rollup is the most popular function in rollup (83 examples)