mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
parent
c62fa8f733
commit
b18f4d4f54
@ -4,7 +4,7 @@ import {
|
||||
addDependencies,
|
||||
divideDependencies,
|
||||
formatDependencies
|
||||
} from '../..'
|
||||
} from '../../lib/esm/index.js'
|
||||
|
||||
const config = {
|
||||
// optionally, you can specify configuration
|
||||
@ -29,5 +29,5 @@ console.log('d =', format(d)) // outputs "d = 7/9"
|
||||
// Now, when bundling your application for use in the browser, only the used
|
||||
// parts of math.js will be bundled. For example to create a bundle using Webpack:
|
||||
//
|
||||
// npx webpack custom_loading.js -o custom_loading.bundle.js --mode=production
|
||||
// npx webpack custom_loading.mjs -o custom_loading.bundle.mjs --mode=production
|
||||
//
|
||||
Loading…
x
Reference in New Issue
Block a user