mirror of
https://github.com/jxnblk/mdx-deck.git
synced 2024-11-29 13:58:02 +03:00
commit
230dd91dc7
10
lib/html.js
10
lib/html.js
@ -29,7 +29,15 @@ const getApp = async opts => {
|
||||
App: path.join(__dirname, '../dist/entry.js')
|
||||
}
|
||||
config.target = 'node'
|
||||
config.externals = [ nodeExternals() ]
|
||||
config.externals = [
|
||||
nodeExternals({
|
||||
whitelist: [
|
||||
'mdx-deck',
|
||||
'mdx-deck/themes',
|
||||
'mdx-deck/layouts'
|
||||
]
|
||||
})
|
||||
]
|
||||
|
||||
const compiler = webpack(config)
|
||||
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mdx-deck",
|
||||
"version": "1.6.7",
|
||||
"version": "1.6.8-0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mdx-deck",
|
||||
"version": "1.6.7",
|
||||
"version": "1.6.8-0",
|
||||
"description": "MDX-based presentation decks",
|
||||
"main": "dist/index.js",
|
||||
"bin": {
|
||||
|
Loading…
Reference in New Issue
Block a user