Skip to content

Commit

Permalink
⏪ (mjs) revert mjs plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahul committed May 17, 2021
1 parent 67d9c97 commit 1d45024
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 136 deletions.
2 changes: 1 addition & 1 deletion src/core/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export default <Module>async function docusModule() {
})
}
addPlugin({
src: resolve(__dirname, 'plugin.mjs'),
src: resolve(__dirname, 'plugin.js'),
filename: 'docus.js',
options: pluginOptions
})
Expand Down
48 changes: 0 additions & 48 deletions src/core/plugin.mjs

This file was deleted.

2 changes: 1 addition & 1 deletion src/i18n/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default <Module>function docusI18n() {

nuxt.hook('build:before', () => {
addPlugin({
src: r('./runtime/plugin.mjs'),
src: r('./runtime/plugin.js'),
filename: 'docus-i18n.js'
})

Expand Down
21 changes: 0 additions & 21 deletions src/i18n/runtime/plugin.mjs

This file was deleted.

2 changes: 1 addition & 1 deletion src/social-image/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default <Module<SocialImageModuleOptions & InternalModuleOptions>>functio
setupStaticGeneration(nuxt, options)

addPlugin({
src: r('runtime/plugin.mjs'),
src: r('runtime/plugin.js'),
fileName: join('social-image.js'),
options
})
Expand Down
64 changes: 0 additions & 64 deletions src/social-image/runtime/plugin.mjs

This file was deleted.

0 comments on commit 1d45024

Please sign in to comment.