mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
Add import attribute dogfood test
This commit is contained in:
parent
e64e0e7c96
commit
9abd97fc96
|
|
@ -32,3 +32,4 @@ website/changelog
|
|||
website/_dogfooding/_swizzle_theme_tests
|
||||
website/_dogfooding/_asset-tests/badSyntax.js
|
||||
website/_dogfooding/_asset-tests/badSyntax.css
|
||||
website/_dogfooding/clientModuleImportAttributes.ts
|
||||
|
|
|
|||
|
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates.
|
||||
*
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
// Test for import attribute support
|
||||
// See https://github.com/facebook/docusaurus/issues/11016
|
||||
import '@generated/i18n' with { type: "json" }
|
||||
|
||||
|
|
@ -131,6 +131,7 @@ export const dogfoodingPluginInstances: PluginConfig[] = [
|
|||
getClientModules() {
|
||||
return [
|
||||
require.resolve('./clientModuleExample.ts'),
|
||||
require.resolve('./clientModuleImportAttributes.ts'),
|
||||
require.resolve('./clientModuleCSS.css'),
|
||||
require.resolve('./migrateStorageNamespace.ts'),
|
||||
];
|
||||
|
|
|
|||
Loading…
Reference in New Issue