Assumming package user configured loaders

This commit is contained in:
peteruithoven 2017-07-20 11:34:47 +02:00
parent cfcd839baa
commit 02b1f080fb

View File

@ -1,15 +1,14 @@
import Slicer from './Slicer.js';
import baseSettings from './settings/default.yml!text';
import printerSettings from './settings/printer.yml!text';
import materialSettings from './settings/material.yml!text';
import qualitySettings from './settings/quality.yml!text';
import yaml from 'js-yaml';
import baseSettings from './settings/default.yml';
import printerSettings from './settings/printer.yml';
import materialSettings from './settings/material.yml';
import qualitySettings from './settings/quality.yml';
const defaultSettings = {
base: yaml.safeLoad(baseSettings),
printer: yaml.safeLoad(printerSettings),
material: yaml.safeLoad(materialSettings),
quality: yaml.safeLoad(qualitySettings)
base: baseSettings,
printer: printerSettings,
material: materialSettings,
quality: qualitySettings
};
export {