BigW Consortium Gitlab

Commit 7598cf62 by Clement Ho

Use import instead of require

parent ead94db6
require('~/copy_as_gfm');
import '~/copy_as_gfm';
(() => {
describe('gl.CopyAsGFM', () => {
......
......@@ -2,7 +2,7 @@ import Vue from 'vue';
import eventHub from '~/filtered_search/event_hub';
import RecentSearchesDropdownContent from '~/filtered_search/components/recent_searches_dropdown_content';
require('~/filtered_search/filtered_search_token_keys');
import '~/filtered_search/filtered_search_token_keys';
const createComponent = (propsData) => {
const Component = Vue.extend(RecentSearchesDropdownContent);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment