Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
377 B
Text
13 lines
377 B
Text
import * as lib from '../fixtures/duplicate-explicit.mjs'
|
|
import { strictEqual } from 'assert'
|
|
import Hook from '../../index.js'
|
|
|
|
Hook((exports, name) => {
|
|
if (name.endsWith('duplicate-explicit.mjs')) {
|
|
strictEqual(exports.foo, 'c')
|
|
exports.foo += '-wrapped'
|
|
}
|
|
})
|
|
|
|
// foo should not be exported because there are duplicate exports
|
|
strictEqual(lib.foo, 'c-wrapped')
|