tl;dr - How can one successfully validate an LWC via a change set that contains schema imports to a custom metadata type?
Problem
I have a working LWC in a sandbox, and am attempting to port it to production via a change set. However, the portion of the LWC that imports a custom metadata type and it's fields causes an error in the change set validation. The validation error message (listed below) appears identically six times, I believe one for each of my Custom Metadata schema imports.
Attempted Solutions
I've tried importing any updates to the custom metadata in a separate change set (which deployed successfully), thinking that an update there may have cause the error, to no effect. I've also searched online for similar issues but have had difficulty finding any posts that describe this issue.
Question
How can I import an LWC via a change set that contains a schema import to custom metadata?
Code
LWC Javascript
import { LightningElement, track, wire } from "lwc";
// // Schema Imports
// Global_Mapping__mdt
import OBJECT_GLOBAL_MAPPING from "@salesforce/schema/Global_Mapping__mdt";
import GLOBAL_MAPPING_FIELD_KEY from "@salesforce/schema/Global_Mapping__mdt.Key__c";
import GLOBAL_MAPPING_FIELD_VALUE from "@salesforce/schema/Global_Mapping__mdt.Value__c";
import GLOBAL_MAPPING_FIELD_SECONDARY_VALUE from "@salesforce/schema/Global_Mapping__mdt.Secondary_Value__c";
import GLOBAL_MAPPING_FIELD_PROJECT from "@salesforce/schema/Global_Mapping__mdt.Project__c";
import GLOBAL_MAPPING_FIELD_MAP from "@salesforce/schema/Global_Mapping__mdt.Map__c";
Deployment Validation Error Message
Invalid reference Global_Mapping__c.Value__c of type sobjectClass in file getFeedbackInterface.js
Invalid reference Global_Mapping__c.Key__c of type sobjectClass in file getFeedbackInterface.js
Invalid reference Global_Mapping__c.Map__c of type sobjectClass in file getFeedbackInterface.js
Invalid reference Global_Mapping__c.Secondary_Value__c of type sobjectClass in file getFeedbackInterface.js
Invalid reference Global_Mapping__c.Project__c of type sobjectClass in file getFeedbackInterface.js
Invalid reference Global_Mapping__c of type sobjectClass in file getFeedbackInterface.js
@salesforce/schema
? I see the docs mention that only standard and custom objects can be imported -- "Lightning Web Components supports the import of references to standard objects, as well as the import of references to custom objects (__c) only". Does this code work?