Nuxt/test/fixtures/deprecate/modules/deprecated-apis/index.js

9 lines
247 B
JavaScript
Raw Normal View History

module.exports = function basicModule(options, resolve) {
this.addVendor('lodash')
// Note: Plugin is deprecated. Please use new hooks system.
this.nuxt.plugin('built', (builder) => {
this.nuxt.__builder_plugin = true
})
resolve()
}